Example #1
0
        public bloViewer(bloScreen screen)
        {
            var rectangle = screen.getRectangle();

            initScreen(screen, rectangle.width, rectangle.height);
            initContext();
        }
Example #2
0
 protected override void OnRenderFrame(FrameEventArgs e)
 {
     clearBuffer(Color4.CornflowerBlue);
     initPolyMode();
     initLine();
     initBlend();
     initOrtho(mScreen.getRectangle());
     initRenderFlags();
     mScreen.draw();
     SwapBuffers();
 }
Example #3
0
        static void openViewer(bloScreen screen, string title)
        {
            var rectangle = screen.getRectangle();

            openViewer(screen, title, rectangle.width, rectangle.height);
        }