//Graphicsオブジェクトの作成 iGraphics_gp graphics = CreateGraphics(); graphics->SetSurface( surface );
//ペイントの作成と設定 graphics->SetPaint( (iPaint_gp)CreatePaintSolid( rgba( 220 , 220 , 220 ) ) ); //Blenderの作成と設定。背景の場合はOnezeroを使う graphics->SetBlender( CreateBlender( Onezero_BlenderType_gp ) ); //塗りつぶし graphics->PaintRect( 0 , faffine() );
//Paint , Blenderの作成と設定 graphics->SetPaint( (iPaint_gp)CreatePaintSolid( rgba( 0 , 0 , 255 ) ) ); graphics->SetBlender( CreateBlender( Overlap_BlenderType_gp ) );
//楕円を描画する graphics->PaintCircle( fvector2( 50.0f , 50.0f ) , 40.0f , 30.0f , faffine() );
//Surfaceの解放 graphics->ReleaseSurface();