Ejemplo n.º 1
0
        public static void StartDemo()
        {
            TeselateTestApplication app = new TeselateTestApplication(PixelFormats.pix_format_rgba32, PlatformSupportAbstract.ERenderOrigin.OriginBottomLeft);

            app.Caption = "AGG Example. A simple example to show of the polygon tesselator.";

            //if (app.init(800, 600, (uint)(AGG.UI.PlatformSupportAbstract.WindowFlags.Risizeable | PlatformSupportAbstract.WindowFlags.UseOpenGL)))
            if (app.init(800, 600, (uint)AGG.UI.PlatformSupportAbstract.WindowFlags.Risizeable))
            {
                app.run();
            }
        }
Ejemplo n.º 2
0
        public static void StartDemo()
        {
            TeselateTestApplication app = new TeselateTestApplication(PixelFormats.pix_format_rgba32, PlatformSupportAbstract.ERenderOrigin.OriginBottomLeft);
            app.Caption = "AGG Example. A simple example to show of the polygon tesselator.";

            //if (app.init(800, 600, (uint)(AGG.UI.PlatformSupportAbstract.WindowFlags.Risizeable | PlatformSupportAbstract.WindowFlags.UseOpenGL)))
            if (app.init(800, 600, (uint)AGG.UI.PlatformSupportAbstract.WindowFlags.Risizeable))
            {
                app.run();
            }
        }