#include <imgui.h>
|
| IMGUI_API void | AddGlyph (ImWchar c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x) |
| |
| IMGUI_API void | AddRemapChar (ImWchar dst, ImWchar src, bool overwrite_dst=true) |
| |
| IMGUI_API void | BuildLookupTable () |
| |
| IMGUI_API ImVec2 | CalcTextSizeA (float size, float max_width, float wrap_width, const char *text_begin, const char *text_end=NULL, const char **remaining=NULL) const |
| |
| const IMGUI_API char * | CalcWordWrapPositionA (float scale, const char *text, const char *text_end, float wrap_width) const |
| |
| IMGUI_API void | ClearOutputData () |
| |
| const IMGUI_API ImFontGlyph * | FindGlyph (ImWchar c) const |
| |
| const IMGUI_API ImFontGlyph * | FindGlyphNoFallback (ImWchar c) const |
| |
| float | GetCharAdvance (ImWchar c) const |
| |
| const char * | GetDebugName () const |
| |
| IMGUI_API void | GrowIndex (int new_size) |
| |
| IMGUI_API | ImFont () |
| |
| IMGUI_API bool | IsGlyphRangeUnused (unsigned int c_begin, unsigned int c_last) |
| |
| bool | IsLoaded () const |
| |
| IMGUI_API void | RenderChar (ImDrawList *draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c) const |
| |
| IMGUI_API void | RenderText (ImDrawList *draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4 &clip_rect, const char *text_begin, const char *text_end, float wrap_width=0.0f, bool cpu_fine_clip=false) const |
| |
| IMGUI_API void | SetFallbackChar (ImWchar c) |
| |
| IMGUI_API void | SetGlyphVisible (ImWchar c, bool visible) |
| |
| IMGUI_API | ~ImFont () |
| |
Definition at line 2272 of file imgui.h.
◆ ImFont()
◆ ~ImFont()
◆ AddGlyph()
| void ImFont::AddGlyph |
( |
ImWchar |
c, |
|
|
float |
x0, |
|
|
float |
y0, |
|
|
float |
x1, |
|
|
float |
y1, |
|
|
float |
u0, |
|
|
float |
v0, |
|
|
float |
u1, |
|
|
float |
v1, |
|
|
float |
advance_x |
|
) |
| |
◆ AddRemapChar()
◆ BuildLookupTable()
| void ImFont::BuildLookupTable |
( |
| ) |
|
◆ CalcTextSizeA()
| ImVec2 ImFont::CalcTextSizeA |
( |
float |
size, |
|
|
float |
max_width, |
|
|
float |
wrap_width, |
|
|
const char * |
text_begin, |
|
|
const char * |
text_end = NULL, |
|
|
const char ** |
remaining = NULL |
|
) |
| const |
◆ CalcWordWrapPositionA()
| const char * ImFont::CalcWordWrapPositionA |
( |
float |
scale, |
|
|
const char * |
text, |
|
|
const char * |
text_end, |
|
|
float |
wrap_width |
|
) |
| const |
◆ ClearOutputData()
| void ImFont::ClearOutputData |
( |
| ) |
|
◆ FindGlyph()
◆ FindGlyphNoFallback()
◆ GetCharAdvance()
| float ImFont::GetCharAdvance |
( |
ImWchar |
c | ) |
const |
|
inline |
◆ GetDebugName()
| const char* ImFont::GetDebugName |
( |
| ) |
const |
|
inline |
◆ GrowIndex()
| void ImFont::GrowIndex |
( |
int |
new_size | ) |
|
◆ IsGlyphRangeUnused()
| bool ImFont::IsGlyphRangeUnused |
( |
unsigned int |
c_begin, |
|
|
unsigned int |
c_last |
|
) |
| |
◆ IsLoaded()
| bool ImFont::IsLoaded |
( |
| ) |
const |
|
inline |
◆ RenderChar()
◆ RenderText()
| void ImFont::RenderText |
( |
ImDrawList * |
draw_list, |
|
|
float |
size, |
|
|
ImVec2 |
pos, |
|
|
ImU32 |
col, |
|
|
const ImVec4 & |
clip_rect, |
|
|
const char * |
text_begin, |
|
|
const char * |
text_end, |
|
|
float |
wrap_width = 0.0f, |
|
|
bool |
cpu_fine_clip = false |
|
) |
| const |
◆ SetFallbackChar()
◆ SetGlyphVisible()
| void ImFont::SetGlyphVisible |
( |
ImWchar |
c, |
|
|
bool |
visible |
|
) |
| |
◆ Ascent
◆ ConfigData
◆ ConfigDataCount
| short ImFont::ConfigDataCount |
◆ ContainerAtlas
◆ Descent
◆ DirtyLookupTables
| bool ImFont::DirtyLookupTables |
◆ DisplayOffset
◆ EllipsisChar
◆ FallbackAdvanceX
| float ImFont::FallbackAdvanceX |
◆ FallbackChar
◆ FallbackGlyph
◆ FontSize
◆ Glyphs
◆ IndexAdvanceX
◆ IndexLookup
◆ MetricsTotalSurface
| int ImFont::MetricsTotalSurface |
◆ Scale
◆ Used4kPagesMap
The documentation for this struct was generated from the following files: