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:
|