![]() ![]() ![]()
|
SophiaFramework 2.2 |
#include <SFBGraphics.hpp>
class SFBGraphics : public SFBBase;
typedef SFBGraphics& SFBGraphicsRef; typedef SFBGraphics* SFBGraphicsPtr; typedef SFBGraphics** SFBGraphicsHandle; typedef const SFBGraphics ConstSFBGraphics; typedef const SFBGraphics& ConstSFBGraphicsRef; typedef const SFBGraphics* ConstSFBGraphicsPtr; typedef const SFBGraphics** ConstSFBGraphicsHandle;
| パブリック関数 | ||
|---|---|---|
| public |
AddRef (SFBBase から継承) | インターフェイスの参照カウントをインクリメントします。 |
| public |
ClearClip | クリッピング領域を解除します。 |
| public |
ClearRect | ウィンドウの長方形領域を背景色で塗りつぶしてクリアします。 |
| public |
ClearViewport | 現在のビューポートを背景色で塗りつぶしてクリアします。 |
| public |
DetachDestination | レンダリング先のビットマップを画面ビットマップに設定します。 |
| public |
DrawArc | 円弧を描画します。 |
| public |
DrawCircle | 円を描画します。 |
| public |
DrawEllipse | 楕円を描画します。 |
| public |
DrawEllipticalArc | 楕円弧を描画します。 |
| public |
DrawLine | 線を描画します。 |
| public |
DrawPie | 扇形を描画します。 |
| public |
DrawPoint | 現在のポイントサイズと前景色で点を描画します。 |
| public |
DrawPolygon | 多角形を描画します。 |
| public |
DrawPolyline | ポリラインを描画します。 |
| public |
DrawRect | 長方形を描画します。 |
| public |
DrawRoundRectangle | 角の丸い長方形を描画します。 |
| public |
DrawTriangle | 三角形を描画します。 |
| public |
EnableDoubleBuffer | ダブルバッファリングを有効/無効にします。 |
| public |
GetAlgorithmHint | 現在のアルゴリズムのヒントを問い合わせます。 |
| public |
GetBackground | 現在の背景色のRGB値を問い合わせます。 |
| public |
GetClip | 現在のクリッピング領域を取得します。 |
| public |
GetColor | 現在の前景色のRGBA値を取得します。 |
| public |
GetColorDepth | デバイスの色深度を取得します。 |
| public |
GetDestination | レンダリング先のビットマップを取得します。 |
| public |
GetFillColor | 現在の塗りつぶし色のRGBA値を取得します。 |
| public |
GetFillMode | 現在の塗りつぶしモードを取得します。 |
| public |
GetPaintMode | 現在の描画モードを取得します。 |
| public |
GetPointSize | 現在のポイントサイズのピクセル数を取得します。 |
| public |
GetStrokeStyle | ストロークスタイルを取得します。 |
| public |
GetViewport | 現在の描画用のビューポート(画面座標フレーム内の長方形領域)を取得します。 |
| public static |
Instance | IGraphics インターフェイスのインスタンスを取得します。 |
| public |
Pan | ワールド座標系でウィンドウを中央に再配置します。 |
| public |
Release (SFBBase から継承) | インターフェイスの参照カウントをデクリメントします。 |
| public |
SetAlgorithmHint | 描画操作のアルゴリズムのヒントを設定します。 |
| public |
SetBackground | 現在の背景色のRGB値を設定します。 |
| public |
SetClip | クリッピング領域を設定します。 |
| public |
SetColor | 現在のRGBA値を設定します。 |
| public |
SetDestination | レンダリング先のビットマップを設定します。 |
| public |
SetFillColor | 塗りつぶし色を設定します。 |
| public |
SetFillMode | 塗りつぶしモードを設定します。 |
| public |
SetPaintMode | 描画モードを設定します。 |
| public |
SetPointSize | ポイントのサイズ(幅)のピクセル数を設定します。 |
| public |
SetStrokeStyle | ストロークスタイルを設定します。 |
| public |
SetViewport | ビューポート長方形を設定します。 |
| public |
StretchBlt | 入力のビットマップを、指定された位置および幅または高さに変換します。 |
| public |
Translate | ワールド座標系でウィンドウの原点を移動します。 |
| public |
Update | デバイスビットマップに対して描画を実行した後、 変更を表示ハードウェアに通知するために呼び出します。 |
[ public ] Bool ClearClip(Void);
この関数は SFBGraphics::SetClip(NULL,0) を呼び出すことと同じです。
[ public ] SFCError ClearRect( SFURectPtr pRect );
入力する長方形はワールド座標系で指定します。
[ public ] Void ClearViewport(Void);
[ public ] SFCError DetachDestination(Void);
この関数は SFBGraphics::SetDestination(NULL) を呼び出すことと同じです。
[ public ] SFCError DrawCircle( SFUCirclePtr pCircle );
[ public ] SFCError DrawEllipse( SFUEllipsePtr pEllipse );
[ public ] SFCError DrawEllipticalArc( SFURectPtr pRect // 楕円を含む長方形 SInt16 startAngle // 弧の開始角度 (単位は度) SInt16 arcAngle // 弧の範囲角度 (単位は度) );
[ public ] SFCError DrawLine( SFULinePtr pLine );
[ public ] SFCError DrawPoint( SFUPointPtr pPoint );
[ public ] SFCError DrawPolygon( SFUPolygonPtr pPolygon );
[ public ] SFCError DrawPolyline( SFUPolylinePtr pPolyline );
[ public ] SFCError DrawRect( SFURectPtr pRect );
[ public ] SFCError DrawRoundRectangle( SFURectPtr pRect // 描画する長方形 SInt16 arcWidth // 角の弧に使用する楕円の幅 SInt16 arcHeight // 角の弧に使用する楕円の高さ );
[ public ] SFCError DrawRoundRectangle( SFURectPtr pRect // ConstSFUSizeRef size // 角の弧に使用する楕円の幅と高さ );
[ public ] SFCError DrawTriangle( SFUTrianglePtr pTriangle );
[ public ] AEEAlgorithmHint GetAlgorithmHint(Void);
アルゴリズムのヒントは、描画の実行速度と正確さの間にトレードオフがある場合にそのどちらを優先するかを指示します。
[ public ] Void GetBackground( UInt08Ptr r UInt08Ptr g UInt08Ptr b );
[ public ] Void GetBackground( SFUColorPtr pColor );
[ public ] SFUColor GetBackground(Void);
[ public ] Bool GetClip( SFUClipPtr pClip );
[ public ] SFUClip GetClip(Void);
[ public ] Void GetColor( UInt08Ptr r UInt08Ptr g UInt08Ptr b UInt08Ptr a );
[ public ] Void GetColor( SFUColorPtr pColor );
[ public ] SFUColor GetColor(Void);
[ public ] UInt08 GetColorDepth(Void);
[ public ] SFUBrewPtr<SFBBitmap> GetDestination(Void);
[ public ] Void GetFillColor( UInt08Ptr r UInt08Ptr g UInt08Ptr b UInt08Ptr a );
[ public ] Void GetFillColor( SFUColorPtr pColor );
[ public ] SFUColor GetFillColor(Void);
[ public ] Bool GetFillMode(Void);
[ public ] AEEPaintMode GetPaintMode(Void);
[ public ] UInt08 GetPointSize(Void);
[ public ] AEEStrokeStyle GetStrokeStyle(Void);
[ public ] Bool GetViewport( SFURectPtr pRect BoolPtr pbFramed = NULL );
[ public ] SFURect GetViewport( BoolPtr pbFramed = NULL );
[ public, static ] SFUBrewPtr<SFBGraphics> Instance(Void);
[ public ] Void Pan( SInt16 x SInt16 y );
[ public ] Void Pan( ConstSFUPointRef point );
[ public ] Void SetAlgorithmHint( AEEAlgorithmHint hint );
アルゴリズムのヒントは、描画の実行速度と正確さの間にトレードオフがある場合にそのどちらを優先するかを指示します。
BREW API IGRAPHICS_SetAlgorithmHint | AEEAlgorithmHint | SFBGraphics::DrawPolygon | SFBGraphics::GetAlgorithmHint
[ public ] RGBVAL SetBackground( UInt08 r UInt08 g UInt08 b );
[ public ] SFUColor SetBackground( ConstSFUColorRef color );
[ public ] Bool SetClip( SFUClipPtr pShape UInt08 nFlag );
[ public ] RGBVAL SetColor( UInt08 r UInt08 g UInt08 b UInt08 a = 0x00 );
[ public ] SFUColor SetColor( ConstSFUColorRef color );
[ public ] SFCError SetDestination( const SFUBrewPtr<SFBBitmap>& pBitmap );
[ public ] RGBVAL SetFillColor( UInt08 r UInt08 g UInt08 b UInt08 a = 0x00 );
[ public ] SFUColor SetFillColor( ConstSFUColorRef color );
[ public ] AEEPaintMode SetPaintMode( AEEPaintMode mode );
[ public ]
AEEStrokeStyle SetStrokeStyle(
AEEStrokeStyle strokeStyle
);BREW API IGRAPHICS_SetStrokeStyle | AEEStrokeStyle | SFBGraphics::GetStrokeStyle
[ public ] Bool SetViewport( SFURectPtr pRect UInt08 nFlag = AEE_GRAPHICS_NONE );
[ public ] Void StretchBlt( SInt16 destX SInt16 destY SInt16 destW SInt16 destH ConstVoidPtr pbmSource AEERasterOp dwRopCode = AEE_RO_COPY );
[ public ] Void StretchBlt( ConstSFURectRef rcDest ConstVoidPtr pbmSource AEERasterOp dwRopCode = AEE_RO_COPY );
[ public ] Void Translate( SInt16 x SInt16 y );
[ public ] Void Translate( ConstSFUPointRef point );
[ public ] Void Update(Void);
| Copyright(C) 2003-2004 Sophia Cradle Inc., All Rights Reserved. |
![]() ![]() ![]()
|