import Graphics; import Graphics2D; import GUI; // グラフィックスデータの生成 int graphicsID = newGraphics( ); // レンダラーの生成 int rendererID = newGraphics2DRenderer( 800, 600, graphicsID ); // 画像ファイルを出力 exportGraphics( graphicsID, "Test.png", "PNG" );