// グラフィックスデータとレンダラーの生成 int graphicsID = newGraphics( ) ; int rendererID = newGraphics2DRenderer( 800, 600, graphicsID ) ; // 表示画面の生成 int windowID = newWindow( 0, 0, 800, 600, " Hello 2DCG ! " ); int labelID = newImageLabel( 0, 0, 800, 600, graphicsID ) ; mountComponent( labelID, windowID ); // 背景色を白に設定してクリア setGraphics2DColor( rendererID, 255, 255, 255, 255 ) ; clearGraphics2D( rendererID ) ;