Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

virtual void OglGui::ShapeScalingView::OnPreDrawView (  )  [inline, virtual]

Reimplemented from OglGui::View.

Definition at line 20 of file ShapeScalingView.h.

References OglGui::View::mView2D, and OglGui::View::OnPreDrawView().

00021     {
00022         OGLIMAGE* im;
00023         if (im = mView2D->im)
00024         {
00025             int w = mView2D->w;
00026             int h = mView2D->h;
00027             viewSys.SetZoom(mView2D,w/(float)im->w,h/(float)im->h);
00028         }
00029         View::OnPreDrawView();
00030     }

Here is the call graph for this function:


Generated on Fri Mar 19 12:05:30 2010 for ImpalaSrc by  doxygen 1.5.1