![]() ![]() ![]()
|
BREW C++ ライブラリ & GUI フレームワーク & XML ミドルウェア : SophiaFramework UNIVERSE 5.0 |

| BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
|---|---|---|---|
| ○ | ○ | ○ | ○ |
| パブリック関数 | |
|---|---|
| SFCError |
ClearRect(
SFXRectanglePtr rect
)
ウィンドウの長方形領域を背景色で塗りつぶしてクリアします。
|
| Void |
ClearViewport( Void )
現在のビューポートを背景色で塗りつぶしてクリアします。
|
| SFCError |
DrawArc(
SFXArcPtr arc
)
円弧を描画します。
|
| SFCError |
DrawCircle(
SFXCirclePtr circle
) 円を描画します。
|
| SFCError |
DrawEllipse(
SFXEllipsePtr ellipse
) 楕円を描画します。
|
| SFCError |
DrawEllipticalArc(
SFXRectanglePtr rect
, SInt16 startAngle
, SInt16 arcAngle
) 楕円弧を描画します。
|
| SFCError |
DrawLine(
SFXLinePtr line
)
線を描画します。
|
| SFCError |
DrawPie(
SFXPiePtr pie
)
扇形を描画します。
|
| SFCError |
DrawPoint(
SFXPixelPtr pixel
)
現在のポイントサイズと前景色で点を描画します。
|
| SFCError |
DrawPolygon(
SFXPolygonPtr polygon
) 多角形を描画します。
|
| SFCError |
DrawPolyline(
SFXPolylinePtr polyline
) 多角線を描画します。
|
| SFCError |
DrawRect(
SFXRectanglePtr rect
)
長方形を描画します。
|
| SFCError |
DrawRoundRectangle(
SFXRectanglePtr rect
, SInt16 arcWidth
, SInt16 arcHeight
) DrawRoundRectangle( SFXRectanglePtr rect , SFXSizeConstRef size )
角の丸い長方形を描画します。
|
| SFCError |
DrawTriangle(
SFXTrianglePtr triangle
)
三角形を描画します。
|
| Bool |
EnableDoubleBuffer(
Bool flag = true
)
ダブルバッファリングを使用可能 / 使用不可にします。
|
| AEEAlgorithmHint |
GetAlgorithmHint( Void )
現在のアルゴリズムのヒントを取得します。
|
| Void |
GetBackground(
UInt08Ptr r
, UInt08Ptr g
, UInt08Ptr b
) GetBackground( SFXRGBColorPtr color )
現在の背景色の RGB 値を取得します。
|
| SFXRGBColor |
GetBackground( Void )
現在の背景色の RGB 値を取得します。
|
| Bool |
GetClip(
SFXClipPtr shape
)
現在のクリッピング領域を取得します。
|
| SFXClip |
GetClip( Void )
現在のクリッピング領域を取得します。
|
| Void |
GetColor(
UInt08Ptr r
, UInt08Ptr g
, UInt08Ptr b
, UInt08Ptr alpha
) GetColor( SFXRGBColorPtr color )
現在の前景色の RGBA 値を取得します。
|
| SFXRGBColor |
GetColor( Void )
現在の前景色の RGBA 値を取得します。
|
| UInt08 |
GetColorDepth( Void )
デバイスの色深度を取得します。
|
| SFBBitmapSmp |
GetDestination( Void ) レンダリング先のビットマップを取得します。
|
| Void |
GetFillColor(
UInt08Ptr r
, UInt08Ptr g
, UInt08Ptr b
, UInt08Ptr alpha
) GetFillColor( SFXRGBColorPtr color )
現在の塗りつぶし色の RGBA 値を取得します。
|
| SFXRGBColor |
GetFillColor( Void )
現在の塗りつぶし色の RGBA 値を取得します。
|
| Bool |
GetFillMode( Void )
現在の塗りつぶしモードを取得します。
|
| static SFBGraphicsSmp |
GetInstance( Void ) SFBGraphics インターフェースのインスタンスを取得します。
|
| AEEPaintMode |
GetPaintMode( Void )
現在の描画モードを取得します。
|
| UInt08 |
GetPointSize( Void )
現在のポイントサイズのピクセル数を取得します。
|
| AEEStrokeStyle |
GetStrokeStyle( Void )
ストロークスタイルを取得します。
|
| Bool |
GetViewport(
SFXRectanglePtr rect
, BoolPtr framed = null
)
現在の描画用のビューポート( 画面座標フレーム内の長方形領域 )を取得します。
|
| SFXRectangle |
GetViewport(
BoolPtr framed = null
)
現在の描画用のビューポート( 画面座標フレーム内の長方形領域 )を取得します。
|
| static SFBGraphicsSmp |
NewInstance(
SFCErrorPtr exception = null
)
SFBGraphics クラスのインスタンスを生成します。
|
| static SFBMediaSVGSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
)
SFBGraphics クラスのインスタンスを生成します。
|
| Void |
Pan(
SInt16 cx
, SInt16 cy
) Pan( SFXGridConstRef grid )
ワールド座標系でウィンドウを中央に再配置します。
|
| Bool |
ResetClip( Void )
クリッピング領域をリセットします。
|
| SFCError |
ResetDestination( Void )
レンダリング先のビットマップをリセットします。
|
| Bool |
ResetViewport( Void )
ビューポートをデフォルトにリセットし、
クリッピング領域もデフォルトのビューポートにリセットします。
|
| Void |
SetAlgorithmHint(
AEEAlgorithmHint hint
)
描画操作のアルゴリズムのヒントを設定します。
|
| RGBVAL |
SetBackground(
UInt08 r
, UInt08 g
, UInt08 b
) 現在の背景色の RGB 値を設定します。
|
| SFXRGBColor |
SetBackground(
SFXRGBColorConstRef color
) 現在の背景色の RGB 値を設定します。
|
| Bool |
SetClip(
SFXClipPtr shape
, UInt08 flag
)
クリッピング領域を設定します。
|
| RGBVAL |
SetColor(
UInt08 r
, UInt08 g
, UInt08 b
, UInt08 alpha = UINT08_MINIMUM
) 現在の RGBA 値を設定します。
|
| SFXRGBColor |
SetColor(
SFXRGBColorConstRef color
) 現在の RGBA 値を設定します。
|
| SFCError |
SetDestination(
SFBBitmapSmpConstRef bmpDest
)
レンダリング先のビットマップを設定します。
|
| RGBVAL |
SetFillColor(
UInt08 r
, UInt08 g
, UInt08 b
, UInt08 alpha = UINT08_MINIMUM
) 塗りつぶし色を設定します。
|
| SFXRGBColor |
SetFillColor(
SFXRGBColorConstRef color
) 塗りつぶし色を設定します。
|
| Bool |
SetFillMode(
Bool fill
)
塗りつぶしモードを設定します。
|
| AEEPaintMode |
SetPaintMode(
AEEPaintMode mode
) 描画モードを設定します。
|
| UInt08 |
SetPointSize(
UInt08 size
) ポイントのサイズ( 幅 )のピクセル数を設定します。
|
| AEEStrokeStyle |
SetStrokeStyle(
AEEStrokeStyle strokeStyle
)
ストローク スタイルを設定します。
|
| Bool |
SetViewport(
SFXRectanglePtr rect
, UInt08 flag = AEE_GRAPHICS_NONE
)
ビューポート長方形を設定します。
|
| Void |
StretchBlt(
SInt16 xDest
, SInt16 yDest
, SInt16 wDest
, SInt16 hDest
, VoidConstPtr bmpSrc
, AEERasterOp rop = AEE_RO_COPY
) StretchBlt( SFXRectangleConstRef rectDest , SFXBufferConstRef bmpSrc , AEERasterOp rop = AEE_RO_COPY ) StretchBlt( SFXRectangleConstRef rectDest , VoidConstPtr bmpSrc , AEERasterOp rop = AEE_RO_COPY ) StretchBlt( SInt16 xDest , SInt16 yDest , SInt16 wDest , SInt16 hDest , SFXBufferConstRef bmpSrc , AEERasterOp rop = AEE_RO_COPY )
入力のビットマップを、指定した位置および幅または高さに変換します。
|
| Void |
Translate(
SInt16 x
, SInt16 y
) Translate( SFXGridConstRef grid )
ワールド座標系でウィンドウの原点を移動します。
|
| Void |
Update( Void )
デバイスビットマップに対して描画を実行した後、
変更を表示ハードウェアに通知します。
|
[ public ] SFCError ClearRect( SFXRectanglePtr rect // クリアする領域を指定する長方形へのポインター );
[ public ] Void ClearViewport(Void);
[ public ] SFCError DrawCircle( SFXCirclePtr circle // 描画する円へのポインター );
[ public ] SFCError DrawEllipse( SFXEllipsePtr ellipse // 描画する楕円へのポインター );
[ public ] SFCError DrawEllipticalArc( SFXRectanglePtr rect // 楕円を含む長方形 SInt16 startAngle // 弧の開始角度 ( 単位は度 ) SInt16 arcAngle // 弧の範囲角度 ( 単位は度 ) );
[ public ] SFCError DrawLine( SFXLinePtr line // 描画する線へのポインター );
[ public ] SFCError DrawPoint( SFXPixelPtr pixel // 描画する点へのポインター );
[ public ] SFCError DrawPolygon( SFXPolygonPtr polygon // 描画する多角形へのポインター );
[ public ] SFCError DrawPolyline( SFXPolylinePtr polyline // 描画するポリラインへのポインター );
[ public ] SFCError DrawRect( SFXRectanglePtr rect // 描画する長方形へのポインター );
[ public ] SFCError DrawRoundRectangle( SFXRectanglePtr rect // 描画する長方形 SInt16 arcWidth // 角の弧に使用する楕円の幅 SInt16 arcHeight // 角の弧に使用する楕円の高さ );
[ public ] SFCError DrawRoundRectangle( SFXRectanglePtr rect // 描画する長方形 SFXSizeConstRef size // 角の弧に使用する楕円の幅と高さ );
[ public ] SFCError DrawTriangle( SFXTrianglePtr triangle // 描画する三角形へのポインター );
[ public ] AEEAlgorithmHint GetAlgorithmHint(Void);
アルゴリズムのヒントは、描画の実行速度と正確さの間にトレードオフがある場合にそのどちらを優先するかを指示します。
[ public ] Void GetBackground( UInt08Ptr r // RGB カラーの赤要素へのポインター UInt08Ptr g // RGB カラーの緑要素へのポインター UInt08Ptr b // RGB カラーの青要素へのポインター );
[ public ] Void GetBackground( SFXRGBColorPtr color // SFXRGBColor へのポインター );
[ public ] SFXRGBColor GetBackground(Void);
[ public ] Bool GetClip( SFXClipPtr shape // 現在のクリッピング形状へのポインター );
[ public ] SFXClip GetClip(Void);
[ public ] Void GetColor( UInt08Ptr r // RGBA 値の赤要素へのポインター UInt08Ptr g // RGBA 値の緑要素へのポインター UInt08Ptr b // RGBA 値の青要素へのポインター UInt08Ptr alpha // アルファ値 );
[ public ] Void GetColor( SFXRGBColorPtr color // SFXRGBColor へのポインター );
[ public ] SFXRGBColor GetColor(Void);
[ public ] UInt08 GetColorDepth(Void);
[ public ] SFBBitmapSmp GetDestination(Void);
[ public ] Void GetFillColor( UInt08Ptr r // RGBA 値の赤要素 UInt08Ptr g // RGBA 値の緑要素 UInt08Ptr b // RGBA 値の青要素 UInt08Ptr alpha // アルファ値 );
[ public ] Void GetFillColor( SFXRGBColorPtr color // SFXRGBColor へのポインター );
[ public ] SFXRGBColor GetFillColor(Void);
[ public ] Bool GetFillMode(Void);
[ public, static ] SFBGraphicsSmp GetInstance(Void);
[ public ] AEEPaintMode GetPaintMode(Void);
[ public ] UInt08 GetPointSize(Void);
[ public ] AEEStrokeStyle GetStrokeStyle(Void);
[ public ] Bool GetViewport( SFXRectanglePtr rect // 現在のビューポート領域を指定する長方形へのポインター BoolPtr framed = null // ビューポートにフレームがある場合は true 、ない場合は false );
[ public ] SFXRectangle GetViewport( BoolPtr framed = null // ビューポートにフレームがある場合は true 、ない場合は false );
[ public, static ] SFBGraphicsSmp NewInstance( SFCErrorPtr exception = null // エラー値 );
[ public, static ] SFBMediaSVGSmp NewInstance( AEECLSID id // クラスID SFCErrorPtr exception = null // エラー値 );
[ public ] Void Pan( SInt16 cx // ワールド座標フレームの新しい中心となる X 座標 SInt16 cy // ワールド座標フレームの新しい中心となる Y 座標 );
[ public ] Void Pan( SFXGridConstRef grid // ワールド座標フレームの新しい中心となる座標 );
[ public ] Bool ResetClip(Void);
SFBGraphics::SetClip( null , 0 ) を呼び出すことと同じです。
[ public ] SFCError ResetDestination(Void);
SFBGraphics::SetDestination( null ) を呼び出すことと同じです。
[ public ] Bool ResetViewport(Void);
[ public ] Void SetAlgorithmHint( AEEAlgorithmHint hint // アルゴリズムのヒント );
アルゴリズムのヒントは、描画の実行速度と正確さの間にトレードオフがある場合にそのどちらを優先するかを指示します。
BREW API IGRAPHICS_SetAlgorithmHint | AEEAlgorithmHint | SFBGraphics::DrawPolygon | SFBGraphics::GetAlgorithmHint
[ public ] RGBVAL SetBackground( UInt08 r // RGB 値の赤要素 UInt08 g // RGB 値の緑要素 UInt08 b // RGB 値の青要素 );
[ public ] SFXRGBColor SetBackground( SFXRGBColorConstRef color // 色 );
[ public ] Bool SetClip( SFXClipPtr shape // クリッピング形状へのポインター UInt08 flag // ビットマップフラグ );
[ public ] RGBVAL SetColor( UInt08 r // RGBA 値の赤要素 UInt08 g // RGBA 値の緑要素 UInt08 b // RGBA 値の青要素 UInt08 alpha = UINT08_MINIMUM // アルファ値 );
[ public ] SFXRGBColor SetColor( SFXRGBColorConstRef color // 色 );
[ public ] SFCError SetDestination( SFBBitmapSmpConstRef bmpDest // レンダリングに使用する SFBBitmap インターフェースポインター // または画面ビットマップに設定する場合は null );
[ public ] RGBVAL SetFillColor( UInt08 r // RGBA 値の赤要素 UInt08 g // RGBA 値の緑要素 UInt08 b // RGBA 値の青要素 UInt08 alpha = UINT08_MINIMUM // アルファ値 );
[ public ] SFXRGBColor SetFillColor( SFXRGBColorConstRef color // 色 );
[ public ] AEEPaintMode SetPaintMode( AEEPaintMode mode // 描画モードの enum 値 );
[ public ] AEEStrokeStyle SetStrokeStyle( AEEStrokeStyle strokeStyle // 描画に使用するストローク スタイル );
[ public ] Bool SetViewport( SFXRectanglePtr rect UInt08 flag = AEE_GRAPHICS_NONE );
表示領域を指定する長方形へのポインター。
以下のオプションを指定するビットマップフラグ。
・ フラグを AEE_GRAPHICS_FRAME に設定すると、dx と dy の最小値が 3 ピクセルになる。
・ フラグを AEE_GRAPHICS_NONE に設定すると、dx と dy の最小値が 1 ピクセルになる。
・ 何らかの理由で SFBGRAPHICS::SetViewport が false を返した場合は、それまでのビューポート設定が保持される。
[ public ] Void StretchBlt( SInt16 xDest // 宛先長方形領域の左上隅の X 座標を指定する SInt16 yDest // 宛先長方形領域の左上隅の Y 座標を指定する SInt16 wDest // 宛先の幅 SInt16 hDest // 宛先の高さ VoidConstPtr bmpSrc // ソースビットマップが格納されている Windows BMP 構造体へのポインター // 指された先のデータには AEE ヘッダーは含まれない // データは BITMAPFILEHEADER から始まる // BMP は非圧縮でなければならない AEERasterOp rop = AEE_RO_COPY // ビットブロックの転送時に使用するラスター操作を指定する );
[ public ] Void StretchBlt( SInt16 xDest // 宛先長方形領域の左上隅の X 座標を指定する SInt16 yDest // 宛先長方形領域の左上隅の Y 座標を指定する SInt16 wDest // 宛先の幅 SInt16 hDest // 宛先の高さ SFXBufferConstRef bmpSrc // ソースビットマップが格納されているバッファへのポインター // 指された先のデータには AEE ヘッダーは含まれない // データは BITMAPFILEHEADER から始まる // BMP は非圧縮でなければならない AEERasterOp rop = AEE_RO_COPY // ビットブロックの転送時に使用するラスター操作を指定する );
[ public ] Void StretchBlt( SFXRectangleConstRef rectDest // 宛先長方形領域 VoidConstPtr bmpSrc // ソースビットマップが格納されている Windows BMP 構造体へのポインター // 指された先のデータには AEE ヘッダーは含まれない // データは BITMAPFILEHEADER から始まる // BMP は非圧縮でなければならない AEERasterOp rop = AEE_RO_COPY // ビットブロックの転送時に使用するラスター操作を指定する );
[ public ] Void StretchBlt( SFXRectangleConstRef rectDest // 宛先長方形領域 SFXBufferConstRef bmpSrc // ソースビットマップが格納されている Windows BMP 構造体へのポインター // 指された先のデータには AEE ヘッダーは含まれない // データは BITMAPFILEHEADER から始まる // BMP は非圧縮でなければならない AEERasterOp rop = AEE_RO_COPY // ビットブロックの転送時に使用するラスター操作を指定する );
[ public ] Void Translate( SInt16 x // ウィンドウの原点をX 軸に沿って x ピクセル移動する SInt16 y // ウィンドウの原点をY 軸に沿って y ピクセル移動する );
[ public ] Void Translate( SFXGridConstRef grid // ウィンドウの原点移動する方向 );
[ public ] Void Update(Void);
|
Copyright (C) 2002 - 2008 Sophia Cradle Incorporated All Rights Reserved. |
![]() ![]() ![]()
|