#include <imgui.h>
|
IMGUI_API | ImFont () |
|
IMGUI_API | ~ImFont () |
|
IMGUI_API void | Clear () |
|
IMGUI_API void | BuildLookupTable () |
|
IMGUI_API const Glyph * | FindGlyph (unsigned short c) const |
|
IMGUI_API void | SetFallbackChar (ImWchar c) |
|
IMGUI_API bool | IsLoaded () const |
|
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 |
|
IMGUI_API ImVec2 | CalcTextSizeW (float size, float max_width, const ImWchar *text_begin, const ImWchar *text_end, const ImWchar **remaining=NULL) const |
|
IMGUI_API void | RenderText (float size, ImVec2 pos, ImU32 col, const ImVec4 &clip_rect, const char *text_begin, const char *text_end, ImDrawVert *&out_vertices, float wrap_width=0.0f, const ImVec2 *cpu_clip_max=NULL) const |
|
IMGUI_API const char * | CalcWordWrapPositionA (float scale, const char *text, const char *text_end, float wrap_width) const |
|
Definition at line 925 of file imgui.h.
Definition at line 934 of file imgui.h.
Class Members |
ImWchar |
Codepoint |
|
signed short |
XAdvance |
|
signed short |
Width |
|
signed short |
Height |
|
signed short |
XOffset |
|
signed short |
YOffset |
|
float |
U0 |
|
float |
V0 |
|
float |
U1 |
|
float |
V1 |
|
void ImFont::BuildLookupTable |
( |
| ) |
|
const ImFont::Glyph * ImFont::FindGlyph |
( |
unsigned short |
c | ) |
const |
void ImFont::SetFallbackChar |
( |
ImWchar |
c | ) |
|
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 |
ImVec2 ImFont::CalcTextSizeW |
( |
float |
size, |
|
|
float |
max_width, |
|
|
const ImWchar * |
text_begin, |
|
|
const ImWchar * |
text_end, |
|
|
const ImWchar ** |
remaining = NULL |
|
) |
| const |
void ImFont::RenderText |
( |
float |
size, |
|
|
ImVec2 |
pos, |
|
|
ImU32 |
col, |
|
|
const ImVec4 & |
clip_rect, |
|
|
const char * |
text_begin, |
|
|
const char * |
text_end, |
|
|
ImDrawVert *& |
out_vertices, |
|
|
float |
wrap_width = 0.0f , |
|
|
const ImVec2 * |
cpu_clip_max = NULL |
|
) |
| const |
const char * ImFont::CalcWordWrapPositionA |
( |
float |
scale, |
|
|
const char * |
text, |
|
|
const char * |
text_end, |
|
|
float |
wrap_width |
|
) |
| const |
const Glyph* ImFont::FallbackGlyph |
float ImFont::FallbackXAdvance |
The documentation for this struct was generated from the following files: