#include <CharWriter.h>
|
| | CharWriter () |
| |
| | ~CharWriter () |
| |
| const Font * | GetFont () const |
| |
| f32 | GetScaleH () const |
| |
| f32 | GetScaleV () const |
| |
| f32 | GetCursorX () const |
| |
| f32 | GetCursorY () const |
| |
| void | SetFont (const Font &font) |
| |
| void | SetColorMapping (Color min, Color max) |
| |
| void | SetScale (f32 hScale, f32 vScale) |
| |
| void | SetScale (f32 scale) |
| |
| void | SetCursor (f32 x, f32 y) |
| |
| void | SetCursor (f32 x, f32 y, f32 z) |
| |
| void | SetCursorX (f32 x) |
| |
| void | SetCursorY (f32 y) |
| |
| f32 | GetFontWidth () const |
| |
| f32 | GetFontHeight () const |
| |
| f32 | GetFontAscent () const |
| |
| bool | IsWidthFixed () const |
| |
| void | EnableFixedWidth (bool flag) |
| |
| f32 | GetFixedWidth () const |
| |
| void | SetFixedWidth (f32 width) |
| |
| void | SetGradationMode (GradationMode mode) |
| |
| void | SetTextColor (Color color) |
| |
| void | SetTextColor (Color start, Color end) |
| |
| Color | GetTextColor () const |
| |
| void | SetFontSize (f32 width, f32 height) |
| |
| void | SetFontSize (f32 height) |
| |
| void | SetupGX () |
| |
| void | ResetColorMapping () |
| |
| void | ResetTextureCache () |
| |
| void | EnableLinearFilter (bool atSmall, bool atLarge) |
| |
| f32 | Print (u16 code) |
| |
| void | MoveCursorX (f32 dx) |
| |
| void | MoveCursorY (f32 dy) |
| |
| void | PrintGlyph (f32 x, f32 y, f32 z, const Glyph &glyph) |
| |
| void | LoadTexture (const Glyph &glyph, GXTexMapID slot) |
| |
| void | UpdateVertexColor () |
| |
|
| typedef struct nw4hbm::ut::CharWriter::ColorMapping | ColorMapping |
| |
| typedef struct nw4hbm::ut::CharWriter::VertexColor | VertexColor |
| |
| typedef struct nw4hbm::ut::CharWriter::TextureFilter | TextureFilter |
| |
| typedef struct nw4hbm::ut::CharWriter::TextColor | TextColor |
| |
| typedef struct nw4hbm::ut::CharWriter::LoadingTexture | LoadingTexture |
| |
◆ ColorMapping
| struct nw4hbm::ut::CharWriter::ColorMapping nw4hbm::ut::CharWriter::ColorMapping |
|
private |
◆ GradationMode
◆ LoadingTexture
| struct nw4hbm::ut::CharWriter::LoadingTexture nw4hbm::ut::CharWriter::LoadingTexture |
|
private |
◆ TextColor
| struct nw4hbm::ut::CharWriter::TextColor nw4hbm::ut::CharWriter::TextColor |
|
private |
◆ TextureFilter
| struct nw4hbm::ut::CharWriter::TextureFilter nw4hbm::ut::CharWriter::TextureFilter |
|
private |
◆ VertexColor
| struct nw4hbm::ut::CharWriter::VertexColor nw4hbm::ut::CharWriter::VertexColor |
|
private |
◆ GradationMode
| Enumerator |
|---|
| GRADMODE_NONE | |
| GRADMODE_H | |
| GRADMODE_V | |
| NUM_OF_GRADMODE | |
◆ CharWriter()
| nw4hbm::ut::CharWriter::CharWriter |
( |
| ) |
|
◆ ~CharWriter()
| nw4hbm::ut::CharWriter::~CharWriter |
( |
| ) |
|
◆ EnableFixedWidth()
| void nw4hbm::ut::CharWriter::EnableFixedWidth |
( |
bool | flag | ) |
|
◆ EnableLinearFilter()
| void nw4hbm::ut::CharWriter::EnableLinearFilter |
( |
bool | atSmall, |
|
|
bool | atLarge ) |
◆ GetCursorX()
| f32 nw4hbm::ut::CharWriter::GetCursorX |
( |
| ) |
const |
◆ GetCursorY()
| f32 nw4hbm::ut::CharWriter::GetCursorY |
( |
| ) |
const |
◆ GetFixedWidth()
| f32 nw4hbm::ut::CharWriter::GetFixedWidth |
( |
| ) |
const |
◆ GetFont()
| const Font * nw4hbm::ut::CharWriter::GetFont |
( |
| ) |
const |
◆ GetFontAscent()
| f32 nw4hbm::ut::CharWriter::GetFontAscent |
( |
| ) |
const |
◆ GetFontHeight()
| f32 nw4hbm::ut::CharWriter::GetFontHeight |
( |
| ) |
const |
◆ GetFontWidth()
| f32 nw4hbm::ut::CharWriter::GetFontWidth |
( |
| ) |
const |
◆ GetScaleH()
| f32 nw4hbm::ut::CharWriter::GetScaleH |
( |
| ) |
const |
◆ GetScaleV()
| f32 nw4hbm::ut::CharWriter::GetScaleV |
( |
| ) |
const |
◆ GetTextColor()
| Color nw4hbm::ut::CharWriter::GetTextColor |
( |
| ) |
const |
◆ IsWidthFixed()
| bool nw4hbm::ut::CharWriter::IsWidthFixed |
( |
| ) |
const |
◆ LoadTexture()
| void nw4hbm::ut::CharWriter::LoadTexture |
( |
const Glyph & | glyph, |
|
|
GXTexMapID | slot ) |
◆ MoveCursorX()
| void nw4hbm::ut::CharWriter::MoveCursorX |
( |
f32 | dx | ) |
|
◆ MoveCursorY()
| void nw4hbm::ut::CharWriter::MoveCursorY |
( |
f32 | dy | ) |
|
◆ Print()
| f32 nw4hbm::ut::CharWriter::Print |
( |
u16 | code | ) |
|
◆ PrintGlyph()
| void nw4hbm::ut::CharWriter::PrintGlyph |
( |
f32 | x, |
|
|
f32 | y, |
|
|
f32 | z, |
|
|
const Glyph & | glyph ) |
◆ ResetColorMapping()
| void nw4hbm::ut::CharWriter::ResetColorMapping |
( |
| ) |
|
◆ ResetTextureCache()
| void nw4hbm::ut::CharWriter::ResetTextureCache |
( |
| ) |
|
◆ SetColorMapping()
| void nw4hbm::ut::CharWriter::SetColorMapping |
( |
Color | min, |
|
|
Color | max ) |
◆ SetCursor() [1/2]
| void nw4hbm::ut::CharWriter::SetCursor |
( |
f32 | x, |
|
|
f32 | y ) |
◆ SetCursor() [2/2]
| void nw4hbm::ut::CharWriter::SetCursor |
( |
f32 | x, |
|
|
f32 | y, |
|
|
f32 | z ) |
◆ SetCursorX()
| void nw4hbm::ut::CharWriter::SetCursorX |
( |
f32 | x | ) |
|
◆ SetCursorY()
| void nw4hbm::ut::CharWriter::SetCursorY |
( |
f32 | y | ) |
|
◆ SetFixedWidth()
| void nw4hbm::ut::CharWriter::SetFixedWidth |
( |
f32 | width | ) |
|
◆ SetFont()
| void nw4hbm::ut::CharWriter::SetFont |
( |
const Font & | font | ) |
|
◆ SetFontSize() [1/2]
| void nw4hbm::ut::CharWriter::SetFontSize |
( |
f32 | height | ) |
|
◆ SetFontSize() [2/2]
| void nw4hbm::ut::CharWriter::SetFontSize |
( |
f32 | width, |
|
|
f32 | height ) |
◆ SetGradationMode()
| void nw4hbm::ut::CharWriter::SetGradationMode |
( |
GradationMode | mode | ) |
|
◆ SetScale() [1/2]
| void nw4hbm::ut::CharWriter::SetScale |
( |
f32 | hScale, |
|
|
f32 | vScale ) |
◆ SetScale() [2/2]
| void nw4hbm::ut::CharWriter::SetScale |
( |
f32 | scale | ) |
|
◆ SetTextColor() [1/2]
| void nw4hbm::ut::CharWriter::SetTextColor |
( |
Color | color | ) |
|
◆ SetTextColor() [2/2]
| void nw4hbm::ut::CharWriter::SetTextColor |
( |
Color | start, |
|
|
Color | end ) |
◆ SetupGX()
| void nw4hbm::ut::CharWriter::SetupGX |
( |
| ) |
|
◆ SetupGXDefault()
| void nw4hbm::ut::CharWriter::SetupGXDefault |
( |
| ) |
|
|
staticprivate |
◆ SetupGXForI()
| void nw4hbm::ut::CharWriter::SetupGXForI |
( |
| ) |
|
|
staticprivate |
◆ SetupGXForRGBA()
| void nw4hbm::ut::CharWriter::SetupGXForRGBA |
( |
| ) |
|
|
staticprivate |
◆ SetupGXWithColorMapping()
| void nw4hbm::ut::CharWriter::SetupGXWithColorMapping |
( |
Color | min, |
|
|
Color | max ) |
|
staticprivate |
◆ SetupVertexFormat()
| void nw4hbm::ut::CharWriter::SetupVertexFormat |
( |
| ) |
|
|
staticprivate |
◆ UpdateVertexColor()
| void nw4hbm::ut::CharWriter::UpdateVertexColor |
( |
| ) |
|
◆ DEFAULT_COLOR_MAPPING_MAX
| const u32 nw4hbm::ut::CharWriter::DEFAULT_COLOR_MAPPING_MAX = 0xFFFFFFFF |
|
staticprivate |
◆ DEFAULT_COLOR_MAPPING_MIN
| const u32 nw4hbm::ut::CharWriter::DEFAULT_COLOR_MAPPING_MIN = 0x00000000 |
|
staticprivate |
◆ mAlpha
| u8 nw4hbm::ut::CharWriter::mAlpha |
|
private |
◆ mColorMapping
◆ mCursorPos
◆ mFilter
◆ mFixedWidth
| f32 nw4hbm::ut::CharWriter::mFixedWidth |
|
private |
◆ mFont
| const Font* nw4hbm::ut::CharWriter::mFont |
|
private |
◆ mIsWidthFixed
| bool nw4hbm::ut::CharWriter::mIsWidthFixed |
|
private |
◆ mLoadingTexture
◆ mScale
◆ mTextColor
◆ mVertexColor
◆ padding_
| u8 nw4hbm::ut::CharWriter::padding_[2] |
|
private |
The documentation for this class was generated from the following files: