|
| AsciiFont (TextureKey textureKey, uint32_t characterWidth, uint32_t characterHeight, const Vector2 &sourceOffset=MGL::Vector2()) noexcept |
| コンストラクタ(テクスチャキーで初期化)
|
|
| AsciiFont (TextureWithBounds textureBounds) noexcept |
| コンストラクタ(領域付きテクスチャで初期化)
|
|
| AsciiFont (const File::PathView &imagePath, uint32_t characterWidth, uint32_t characterHeight, const Vector2 &sourceOffset=MGL::Vector2(), TextureLoaderKey loaderKey=TextureStorage::kDefaultLoaderKey) noexcept |
| コンストラクタ(ファイルから画像を読み込み)
|
|
| AsciiFont (const void *imageData, size_t dataSize, uint32_t characterWidth, uint32_t characterHeight, const Vector2 &sourceOffset=MGL::Vector2(), TextureLoaderKey loaderKey=TextureStorage::kDefaultLoaderKey) noexcept |
| コンストラクタ(メモリ上の画像データから読み込み)
|
|
void | Initialize () noexcept |
| 初期化処理
|
|
virtual size_t | GetIndex (char32_t character, FontFaceType faceType) const noexcept override |
| グリフのインデックスを取得
|
|
virtual const FontGlyph * | GetGlyph (size_t index, FontFaceType faceType, const FontOption &option) const noexcept override |
| グリフを取得
|
|
virtual bool | HasFontFace (FontFaceType faceType) const noexcept override |
| 指定したフェイスを保持しているかを取得
|
|
virtual bool | IsValid () const noexcept override |
| このフォントリソースが有効かどうかを取得
|
|
virtual float | GetLineAdvance () const noexcept override |
| 改行の送りサイズを取得
|
|
| IndexedFontResource (FontOrigin originType) noexcept |
| コンストラクタ
|
|
virtual size_t | GetIndex (char32_t character, FontFaceType faceType) const noexcept=0 |
| グリフのインデックスを取得
|
|
virtual const FontGlyph * | GetGlyph (size_t index, FontFaceType faceType, const FontOption &option) const noexcept=0 |
| グリフを取得
|
|
virtual bool | HasFontFace (FontFaceType faceType) const noexcept override=0 |
| 指定した書体を保持しているかを取得
|
|
virtual bool | IsValid () const noexcept override=0 |
| このフォントリソースが有効かどうかを取得
|
|
virtual float | GetLineAdvance () const noexcept=0 |
| 改行の送りサイズを取得
|
|
virtual float | GetRubyOffset () const noexcept |
| ルビのオフセット値を取得
|
|
constexpr | FontResource (FontOrigin originType) noexcept |
| コンストラクタ
|
|
virtual bool | Print (FontWorkdata &workdata, const FontOption &option, const char *text, const Text::FormatArgs &formatArgs=Text::FormatArgs()) noexcept |
| 文字の表示
|
|
virtual bool | Print (FontWorkdata &workdata, const FontOption &option, const Text::IndexedCharacter *indexedString, const Text::FormatArgs &formatArgs=Text::FormatArgs()) noexcept |
| インデックス化した文字を表示
|
|
virtual Text::IndexedCharacter | ToIndexedCharacter (char32_t character, FontFaceType faceType) const noexcept |
| 文字をインデックス文字に変換
|
|
virtual char32_t | ToUTF32 (Text::IndexedCharacter indexedCharacter, FontFaceType faceType) const noexcept |
| インデックス文字をUTF-32の文字に変換
|
|
virtual const FontGlyph * | GetGlyph (char32_t character, FontFaceType faceType, const FontOption &option) const noexcept |
| グリフの取得
|
|
virtual const FontGlyph * | GetGlyph (Text::IndexedCharacter character, FontFaceType faceType, const FontOption &option) const noexcept |
| グリフの取得
|
|
virtual bool | HasFontFace (FontFaceType faceType) const noexcept=0 |
| 指定したフェイスを保持しているかを取得
|
|
virtual bool | IsValid () const noexcept=0 |
| このフォントリソースが有効かどうかを取得
|
|
constexpr const Text::IndexConverter & | GetIndexConverter () const noexcept |
| インデックス文字列のコンバータを取得
|
|
constexpr bool | IsEnabled (FontFeature feature) const noexcept |
| フォント機能の有効状態を取得
|
|
constexpr FontOrigin | GetOriginType () const noexcept |
| フォントの原点タイプを取得
|
|