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

| BREW 2.0 | BREW 2.1 | BREW 3.0 | BREW 3.1 |
|---|---|---|---|
| ○ | ○ | ○ | ○ |
| パブリック関数 | |
|---|---|
| SFCError |
DrawText(
SFBBitmapSmpConstRef bmpDest
, SInt32 x
, SInt32 y
, WCharConstPtr text
, SInt32 textLength
, NativeColor foregroundColor
, NativeColor backgroundColor
, SFXRectangleConstPtr clipRect
, UInt32 flags = IDF_ALIGN_NONE
) DrawText( SFBBitmapSmpConstRef bmpDest , SFXWideStringConstRef text , SInt32 textLength , NativeColor foregroundColor , NativeColor backgroundColor , SFXRectangleConstRef clipRect , UInt32 flags = IDF_ALIGN_NONE ) DrawText( SFBBitmapSmpConstRef bmpDest , SFXGridConstRef grid , SFXWideStringConstRef text , SInt32 textLength , NativeColor foregroundColor , NativeColor backgroundColor , SFXRectangleConstRef clipRect , UInt32 flags = IDF_ALIGN_NONE ) DrawText( SFBBitmapSmpConstRef bmpDest , SFXGridConstPtr grid , SFXWideStringConstRef text , SInt32 textLength , NativeColor foregroundColor , NativeColor backgroundColor , SFXRectangleConstPtr clipRect , UInt32 flags = IDF_ALIGN_NONE ) DrawText( SFBBitmapSmpConstRef bmpDest , SInt32 x , SInt32 y , WCharConstPtr text , SInt32 textLength , NativeColor foregroundColor , NativeColor backgroundColor , SFXRectangleConstRef clipRect , UInt32 flags = IDF_ALIGN_NONE )
ビットマップ内にテキストを描画します。
|
| SFCError |
GetInfo(
AEEFontInfo* info
, SInt32 size = sizeof(AEEFontInfo)
)
フォントの情報を取得します。
|
| AEEFontInfo |
GetInfo( Void )
フォントの情報を取得します。
|
| SFCError |
MeasureText(
WCharConstPtr text
, SInt32 textLength
, SInt32 maxWidth
, SInt32Ptr fits
, SInt32Ptr pixels
) MeasureText( SFXWideStringConstRef text , SInt32 textLength , SInt32 maxWidth , SInt32Ptr fits , SInt32Ptr pixels )
テキストの幅を測定します。
|
| static SFBFontSmp |
NewInstance(
AEECLSID clsid
)
SFBFont クラスのインスタンスを生成します。
|
| SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(SFBQuery から継承)
QueryInterface( AEECLSID clsid , SFBBaseSmpPtr handle ) (SFBQuery から継承) このオブジェクトからの別の API を問い合わせます。
|
| SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(SFBQuery から継承)
このオブジェクトからの別の API を問い合わせます。
|
| Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(SFBQuery から継承)
オブジェクトを単一インターフェースで実装するときに使います。
|
| SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(SFBQuery から継承)
オブジェクトを単一インターフェースで実装するときに使います。
|
[ public ] SFCError DrawText( SFBBitmapSmpConstRef bmpDest // 宛先 SFBBitmap インターフェース SInt32 x // テキスト文字列の X 座標 SInt32 y // テキスト文字列の Y 座標 WCharConstPtr text // 描画するテキスト文字列 SInt32 textLength // テキスト文字列の長さ NativeColor foregroundColor // テキストを描画する色 NativeColor backgroundColor // 背景を描画する色 SFXRectangleConstPtr clipRect // テキストを描画するクリッピング長方形 UInt32 flags = IDF_ALIGN_NONE // テキスト表示の外観を記述するプロパティビットマップ );
[ public ] SFCError DrawText( SFBBitmapSmpConstRef bmpDest // 宛先 SFBBitmap インターフェース SInt32 x // テキスト文字列の X 座標 SInt32 y // テキスト文字列の Y 座標 WCharConstPtr text // 描画するテキスト文字列 SInt32 textLength // テキスト文字列の長さ NativeColor foregroundColor // テキストを描画する色 NativeColor backgroundColor // 背景を描画する色 SFXRectangleConstRef clipRect // テキストを描画するクリッピング長方形 UInt32 flags = IDF_ALIGN_NONE // テキスト表示の外観を記述するプロパティビットマップ );
[ public ] SFCError DrawText( SFBBitmapSmpConstRef bmpDest // 宛先 SFBBitmap インターフェース SFXGridConstPtr grid // テキスト文字列の座標 SFXWideStringConstRef text // 描画するテキスト文字列 SInt32 textLength // テキスト文字列の長さ NativeColor foregroundColor // テキストを描画する色 NativeColor backgroundColor // 背景を描画する色 SFXRectangleConstPtr clipRect // テキストを描画するクリッピング長方形 UInt32 flags = IDF_ALIGN_NONE // テキスト表示の外観を記述するプロパティビットマップ );
[ public ] SFCError DrawText( SFBBitmapSmpConstRef bmpDest // 宛先 SFBBitmap インターフェース SFXGridConstRef grid // テキスト文字列の座標 SFXWideStringConstRef text // 描画するテキスト文字列 SInt32 textLength // テキスト文字列の長さ NativeColor foregroundColor // テキストを描画する色 NativeColor backgroundColor // 背景を描画する色 SFXRectangleConstRef clipRect // テキストを描画するクリッピング長方形 UInt32 flags = IDF_ALIGN_NONE // テキスト表示の外観を記述するプロパティビットマップ );
[ public ] SFCError DrawText( SFBBitmapSmpConstRef bmpDest // 宛先 SFBBitmap インターフェース SFXWideStringConstRef text // 描画するテキスト文字列 SInt32 textLength // テキスト文字列の長さ NativeColor foregroundColor // テキストを描画する色 NativeColor backgroundColor // 背景を描画する色 SFXRectangleConstRef clipRect // テキストを描画するクリッピング長方形 UInt32 flags = IDF_ALIGN_NONE // テキスト表示の外観を記述するプロパティビットマップ );
[ public ] SFCError GetInfo( AEEFontInfo* info // 読み込む AEEFontInfo 構造体へのポインター SInt32 size = sizeof(AEEFontInfo) // 読み込む構造体のサイズ );
[ public ] AEEFontInfo GetInfo(Void);
[ public ] SFCError MeasureText( WCharConstPtr text // ピクセル数を測定するテキスト文字列 SInt32 textLength // テキスト文字列の長さ SInt32 maxWidth // 最大使用可能な画面幅( ピクセル数 ) SInt32Ptr fits // 使用可能な幅が指定した画面に収まる文字の数 SInt32Ptr pixels // 使用可能な領域に収まるテキスト文字列の合計幅( ピクセル数 ) );
[ public ] SFCError MeasureText( SFXWideStringConstRef text // ピクセル数を測定するテキスト文字列 SInt32 textLength // テキスト文字列の長さ。 SInt32 maxWidth // 最大使用可能な画面幅( ピクセル数 ) SInt32Ptr fits // 使用可能な幅が指定した画面に収まる文字の数 SInt32Ptr pixels // 使用可能な領域に収まるテキスト文字列の合計幅( ピクセル数 ) );
[ public, static ] SFBFontSmp NewInstance( AEECLSID clsid );
|
Copyright (C) 2002 - 2008 Sophia Cradle, Inc. All Rights Reserved. |
![]() ![]() ![]()
|