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

static void OglGui::OglDemo::MyOnDrawView2D ( OGLVIEW *  view  )  [inline, static]

Definition at line 629 of file OglDemo.h.

Referenced by SetOnDrawViewGraphics().

00630     {
00631         OGC myOGC;
00632         int bInfo[3];
00633 
00634         OGCSave(&myOGC);
00635         glPushMatrix();
00636         oglSys.StartBlend(bInfo);
00637 
00638         SetFillColors(oglRED, oglGREEN, oglBLUE, oglWHITE, 0x80000000);
00639         // Draw oval centered on upper right corner of view
00640         viewSys.View2DNormTransform(view);
00641         FillOval(1.f, 1.f, 0.25f, 0.25f);
00642 
00643         // Draw oval centered on lower left corner of image
00644         viewSys.View2DImageNormTransform(view);
00645         FillOval(0.f,0.f, 0.25f, 0.25f);
00646 
00647         oglSys.EndBlend(bInfo);
00648         glPopMatrix();
00649         OGCRestore(&myOGC);
00650     }


Generated on Thu Jan 13 09:26:39 2011 for ImpalaSrc by  doxygen 1.5.1