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

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

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