フォント描画情報構造体 More...
#include <GxSysFont.h>
Public Member Functions | |
初期化 | |
void | terminate (void) |
終了処理 | |
操作 | |
GX_FORCE_INLINE b32 | isNeedCalculationPrePosition (void) const |
事前座標計算が必要か調べる | |
void | updatePreLineBreak (f32 addOffsetY, GxVector2 &prePosition) |
事前改行更新 | |
void | updateLineBreak (const GxSize &size, f32 addOffsetY, GxVector2 &offsetPosition) |
改行更新 | |
void | calculationOffsetPosition (const GxSize &size, u32 renderLine, GxVector2 &position) |
補正座標計算 | |
Public Attributes | |
メンバ変数 | |
b32 | _isEnd |
終了判定 | |
s32 | _index |
Index. | |
f32 | _size |
サイズ | |
f32 | _lineHeight |
行高さ | |
f32 | _lineSpace |
行間隔 | |
b32 | _isBorder |
縁判定 | |
f32 | _borderSize |
縁サイズ | |
f32 | _x |
X座標 | |
f32 | _y |
Y座標 | |
FONT_LAYOUT | _layout |
レイアウト | |
GxArray | _lineWidthArray |
行幅配列 | |
u32 | _currentLine |
現在の行 | |
フォント描画情報構造体
void GxSysFont::GxFontRenderInformation::calculationOffsetPosition | ( | const GxSize & | size, |
u32 | renderLine, | ||
GxVector2 & | position ) |
補正座標計算
size | [in] サイズ |
renderLine | [in] 行幅 |
position | [in,out] オフセット座標 |
void GxSysFont::GxFontRenderInformation::updateLineBreak | ( | const GxSize & | size, |
f32 | addOffsetY, | ||
GxVector2 & | offsetPosition ) |
改行更新
size | [in] サイズ |
addOffsetY | [in] オフセットY値 |
offsetPosition | [in,out] オフセット座標 |
void GxSysFont::GxFontRenderInformation::updatePreLineBreak | ( | f32 | addOffsetY, |
GxVector2 & | prePosition ) |
事前改行更新
addOffsetY | [in] オフセットY値 |
prePosition | [in,out] 事前の座標 |