![]() ![]() ![]()
|
SophiaFramework 2.2 |
#include <SFBFont.hpp>
class SFBFont : public SFBQuery;
typedef SFBFont& SFBFontRef; typedef SFBFont* SFBFontPtr; typedef SFBFont** SFBFontHandle; typedef const SFBFont ConstSFBFont; typedef const SFBFont& ConstSFBFontRef; typedef const SFBFont* ConstSFBFontPtr; typedef const SFBFont** ConstSFBFontHandle;
| IFONT_GetInfo | |
| ドキュメント エラー | BREW API リファレンス 2.0.1.5 |
API リファレンスには IFONT_GetFontInfo という API について説明がありますが、 正しい API 名は IFONT_GetInfo です。
補記:API リファレンス 2.1 (英語版) にて修正されました。日本語版は未修正です。
| IFONT_MesureText | |
| ドキュメント エラー | BREW API リファレンス 2.0.1.5 |
この関数の第 6 引数に「-1」を渡すと特別な動作をする旨記述がありますが、 これは誤りです。第 6 引数には必ず有効な数字を渡してください。
| パブリック関数 | ||
|---|---|---|
| public |
AddRef (SFBBase から継承) | インターフェイスの参照カウントをインクリメントします。 |
| public |
DrawText | ビットマップ内にテキストを描画します。 |
| public |
GetInfo | フォントの情報を取得します。 |
| public |
MeasureText | テキストの幅を測定します。 |
| public |
QueryInterface (SFBQuery から継承) | このオブジェクトからの別の API を問い合わせます。 |
| public |
Release (SFBBase から継承) | インターフェイスの参照カウントをデクリメントします。 |
| public |
Self (SFBQuery から継承) | オブジェクトを単一インタフェースで実装する際に使用します。 |
[ public ] SFCError DrawText( const SFUBrewPtr<SFBBitmap>& pBitmap SIntN x SIntN y ConstWCharPtr pcText SIntN nChars NativeColor foreground NativeColor background ConstSFURectPtr UInt32 prcClip = IDF_ALIGN_NONE );
[ public ] SFCError DrawText( const SFUBrewPtr<SFBBitmap>& pBitmap SIntN x SIntN y ConstWCharPtr pcText SIntN nChars NativeColor foreground NativeColor background ConstSFURectRef rcClip UInt32 flags = IDF_ALIGN_NONE );
[ public ] SFCError DrawText( const SFUBrewPtr<SFBBitmap>& pBitmap ConstSFUPointPtr point ConstSFUWideStringRef strText SIntN nChars NativeColor foreground NativeColor background ConstSFURectPtr strClip UInt32 dwFlags = IDF_ALIGN_NONE );
[ public ] SFCError DrawText( const SFUBrewPtr<SFBBitmap>& pBitmap ConstSFUPointRef point ConstSFUWideStringRef strText SIntN nChars NativeColor foreground NativeColor background ConstSFURectRef rcClip UInt32 flags = IDF_ALIGN_NONE );
[ public ] SFCError DrawText( const SFUBrewPtr<SFBBitmap>& pBitmap ConstSFUPointRef point ConstSFUWideStringRef strText SIntN nChars NativeColor foreground NativeColor background UInt32 flags = IDF_ALIGN_NONE );
[ public ] SFCError DrawText( const SFUBrewPtr<SFBBitmap>& pBitmap ConstSFUWideStringRef strText SIntN nChars NativeColor foreground NativeColor background ConstSFURectRef rcClip UInt32 flags = IDF_ALIGN_NONE );
[ public ] SFCError GetInfo( AEEFontInfo * pInfo SIntN nSize = sizeof(AEEFontInfo) );
[ public ] AEEFontInfo GetInfo(Void);
| Copyright(C) 2003-2004 Sophia Cradle Inc., All Rights Reserved. |
![]() ![]() ![]()
|