フォントシステム基礎クラス
More...
#include <GxSysFont.h>
|
|
| GxSysFont (void) |
| コンストラクタ
|
|
| ~GxSysFont (void) override |
| デストラクタ
|
|
b32 | initialize (const GxClassBase *pInitialInformation) override |
| 初期化
|
|
void | terminate (void) override |
| 終了処理
|
|
|
constexpr u32 | getUserFontCount (void) const |
| ユーザフォント数を取得
|
|
template<typename T > |
T * | getModule (void) const |
| モジュールを取得
|
|
| GxSysBase (void) |
| デフォルトコンストラクタ
|
|
| ~GxSysBase (void) override |
| デストラクタ
|
|
b32 | isLocked (void) |
| クリティカルセクションのロック状態を確認する
|
|
void | sleep (f32 time) |
| スリープ(スクリプト用)
|
|
constexpr | GxClassBase (void) |
| コンストラクタ
|
|
constexpr | GxClassBase (const GxClassBase &base) |
| コピーコンストラクタ
|
|
| ~GxClassBase (void) override |
| デストラクタ
|
|
constexpr | GxClassBaseRoot (void) |
| コンストラクタ
|
|
constexpr | GxClassBaseRoot (const GxClassBaseRoot &) |
| コピーコンストラクタ
|
|
virtual | ~GxClassBaseRoot (void) |
| デストラクタ
|
|
constexpr GxClassBaseRoot & | operator= (const GxClassBaseRoot &) |
| 代入演算子
|
|
virtual GxRtti & | getRtti (void) const =0 |
| Rttiの取得
|
|
virtual GX_FORCE_INLINE const GxTypedObject * | getDefaultObject (void) |
| デフォルトオブジェクトを取得
|
|
GX_FORCE_INLINE b32 | isDefaultObject (void) |
| デフォルトオブジェクト判定
|
|
| SingletonBase (void) |
| コンストラクタ
|
|
| ~SingletonBase (void) |
| デストラクタ
|
|
|
void | update (void) override |
| 更新
|
|
void | initializeRenderFont (GxFontRenderInformation *pRenderInformation, s32 fontIndex, f32 lineSpace, f32 size, b32 isBorder, f32 borderSize, FONT_LAYOUT layout, const GxSize &bufferSize, s32 renderTexturePitchSize, void *pFontBuffer, GxRenderTexture *pRenderTexture) |
| フォント描画初期化
|
|
void | copyRenderFont (GxFontRenderInformation *pRenderInformation, b32 isEndText, GX_CSTR baseText, GX_CSTR renderText, const GxSize &fontBufferSize, s32 renderTexturePitchSize, void *pFontBuffer, GxRenderTexture *pRenderTexture) |
| フォント描画コピー
|
|
◆ copyRenderFont()
void GxSysFont::copyRenderFont |
( |
GxFontRenderInformation * | pRenderInformation, |
|
|
b32 | isEndText, |
|
|
GX_CSTR | baseText, |
|
|
GX_CSTR | renderText, |
|
|
const GxSize & | fontBufferSize, |
|
|
s32 | renderTexturePitchSize, |
|
|
void * | pFontBuffer, |
|
|
GxRenderTexture * | pRenderTexture ) |
フォント描画コピー
- Parameters
-
pRenderInformation | [in] フォント描画情報 |
isEndText | [in] 終了文字判定 |
baseText | [in] 基礎文字列 |
renderText | [in] 描画文字列 |
fontBufferSize | [in] フォントバッファサイズ |
renderTexturePitchSize | [in] レンダーテクスチャピッチサイズ |
pFontBuffer | [in] フォントバッファ |
pRenderTexture | [in] レンダーテクスチャ |
◆ initialize()
初期化
- Parameters
-
pInitialInformation | [in] 初期化情報 |
- Returns
- 成功ならtrue
Reimplemented from GxSysBase.
◆ initializeRenderFont()
void GxSysFont::initializeRenderFont |
( |
GxFontRenderInformation * | pRenderInformation, |
|
|
s32 | fontIndex, |
|
|
f32 | lineSpace, |
|
|
f32 | size, |
|
|
b32 | isBorder, |
|
|
f32 | borderSize, |
|
|
FONT_LAYOUT | layout, |
|
|
const GxSize & | bufferSize, |
|
|
s32 | renderTexturePitchSize, |
|
|
void * | pFontBuffer, |
|
|
GxRenderTexture * | pRenderTexture ) |
フォント描画初期化
@oaram pRenderInformation [out] フォント描画情報
- Parameters
-
fontIndex | [in] フォントIndex (-1でシステムフォント) |
lineSpace | [in] 行間隔 |
size | [in] 文字サイズ |
isBorder | [in] 縁表示判定 |
borderSize | [in] 縁サイズ |
layout | [in] レイアウト |
bufferSize | [in] バッファサイズ |
renderTexturePitchSize | [in] レンダーテクスチャピッチサイズ |
pFontBuffer | [in] バッファ |
pRenderTexture | [in] レンダーテクスチャ |
◆ terminate()
void GxSysFont::terminate |
( |
void | | ) |
|
|
overridevirtual |
◆ update()
void GxSysFont::update |
( |
void | | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxSysFont.h
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxSysFont.cpp