#include <imgui.h>
|
| | ImFont () |
| |
| | ~ImFont () |
| |
| void | ClearOutputData () |
| |
| void | BuildLookupTable () |
| |
| const ImFontGlyph * | FindGlyph (ImWchar c) const |
| |
| const ImFontGlyph * | FindGlyphNoFallback (ImWchar c) const |
| |
| void | SetFallbackChar (ImWchar c) |
| |
| float | GetCharAdvance (ImWchar c) const |
| |
| bool | IsLoaded () const |
| |
| const char * | GetDebugName () const |
| |
| 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 char * | CalcWordWrapPositionA (float scale, const char *text, const char *text_end, float wrap_width) const |
| |
| void | RenderChar (ImDrawList *draw_list, float size, ImVec2 pos, ImU32 col, unsigned short c) const |
| |
| 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 |
| |
| void | GrowIndex (int new_size) |
| |
| void | AddGlyph (ImWchar c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x) |
| |
| void | AddRemapChar (ImWchar dst, ImWchar src, bool overwrite_dst=true) |
| |
| void ImFont::AddGlyph |
( |
ImWchar |
c, |
|
|
float |
x0, |
|
|
float |
y0, |
|
|
float |
x1, |
|
|
float |
y1, |
|
|
float |
u0, |
|
|
float |
v0, |
|
|
float |
u1, |
|
|
float |
v1, |
|
|
float |
advance_x |
|
) |
| |
| void ImFont::BuildLookupTable |
( |
| ) |
|
| 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 |
| const char * ImFont::CalcWordWrapPositionA |
( |
float |
scale, |
|
|
const char * |
text, |
|
|
const char * |
text_end, |
|
|
float |
wrap_width |
|
) |
| const |
| void ImFont::ClearOutputData |
( |
| ) |
|
| float ImFont::GetCharAdvance |
( |
ImWchar |
c | ) |
const |
|
inline |
| const char* ImFont::GetDebugName |
( |
| ) |
const |
|
inline |
| void ImFont::GrowIndex |
( |
int |
new_size | ) |
|
| bool ImFont::IsLoaded |
( |
| ) |
const |
|
inline |
| 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 |
| short ImFont::ConfigDataCount |
| bool ImFont::DirtyLookupTables |
| float ImFont::FallbackAdvanceX |
| ImVector<unsigned short> ImFont::IndexLookup |
| int ImFont::MetricsTotalSurface |
The documentation for this struct was generated from the following files: