OROCHI
 
Loading...
Searching...
No Matches
GxSysFont::GxFontRenderInformation Struct Reference

フォント描画情報構造体 More...

#include <GxSysFont.h>

Collaboration diagram for GxSysFont::GxFontRenderInformation:

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
 現在の行
 

Detailed Description

フォント描画情報構造体

Member Function Documentation

◆ calculationOffsetPosition()

void GxSysFont::GxFontRenderInformation::calculationOffsetPosition ( const GxSize & size,
u32 renderLine,
GxVector2 & position )

補正座標計算

Parameters
size[in] サイズ
renderLine[in] 行幅
position[in,out] オフセット座標
Here is the caller graph for this function:

◆ updateLineBreak()

void GxSysFont::GxFontRenderInformation::updateLineBreak ( const GxSize & size,
f32 addOffsetY,
GxVector2 & offsetPosition )

改行更新

Parameters
size[in] サイズ
addOffsetY[in] オフセットY値
offsetPosition[in,out] オフセット座標
Here is the caller graph for this function:

◆ updatePreLineBreak()

void GxSysFont::GxFontRenderInformation::updatePreLineBreak ( f32 addOffsetY,
GxVector2 & prePosition )

事前改行更新

Parameters
addOffsetY[in] オフセットY値
prePosition[in,out] 事前の座標
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this struct was generated from the following files: