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