|
| | AsciiFont (TextureKey textureKey, uint32_t characterWidth, uint32_t characterHeight, const Vector2 &sourceOffset=MGL::Vector2()) noexcept |
| | コンストラクタ(テクスチャキーで初期化)
|
| |
| | AsciiFont (const 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 |
| | 初期化処理
|
| |
| size_t | GetIndex (char32_t character, FontFaceType faceType) const noexcept override |
| | グリフのインデックスを取得
|
| |
| const FontGlyph * | GetGlyph (size_t index, FontFaceType faceType, const FontOption &option) const noexcept override |
| | グリフを取得
|
| |
| bool | HasFontFace (FontFaceType faceType) const noexcept override |
| | 指定したフェイスを保持しているかを取得
|
| |
| bool | IsValid () const noexcept override |
| | このフォントリソースが有効かどうかを取得
|
| |
| float | GetLineAdvance () const noexcept override |
| | 改行の送りサイズを取得
|
| |
| | IndexedFontResource (FontOrigin originType) noexcept |
| | コンストラクタ
|
| |
| virtual float | GetRubyOffset () const noexcept |
| | ルビのオフセット値を取得
|
| |
| bool | Print (FontWorkdata &workdata, const FontOption &option, const char *text, const Text::FormatArgs &formatArgs) noexcept final |
| | 文字の表示
|
| |
| bool | Print (FontWorkdata &workdata, const FontOption &option, const Text::IndexedCharacter *indexedString, const Text::FormatArgs &formatArgs) noexcept final |
| | インデックス化した文字を表示
|
| |
| Text::IndexedCharacter | ToIndexedCharacter (char32_t character, FontFaceType faceType) const noexcept final |
| | 文字をインデックス文字に変換
|
| |
| char32_t | ToUTF32 (Text::IndexedCharacter indexedCharacter, FontFaceType faceType) const noexcept final |
| | インデックス文字をUTF-32の文字に変換
|
| |
| const FontGlyph * | GetGlyph (char32_t character, FontFaceType faceType, const FontOption &option) const noexcept final |
| | グリフの取得
|
| |
| const FontGlyph * | GetGlyph (Text::IndexedCharacter character, FontFaceType faceType, const FontOption &option) const noexcept final |
| | グリフの取得
|
| |
|
constexpr | FontResource (FontOrigin originType) noexcept |
| | コンストラクタ
|
| |
| constexpr const Text::IndexConverter & | GetIndexConverter () const noexcept |
| | インデックス文字列のコンバータを取得
|
| |
| constexpr bool | IsEnabled (FontFeature feature) const noexcept |
| | フォント機能の有効状態を取得
|
| |
| constexpr FontOrigin | GetOriginType () const noexcept |
| | フォントの原点タイプを取得
|
| |