#include <imgui.h>
|
| ImFontAtlas () |
|
| ~ImFontAtlas () |
|
ImFont * | AddFont (const ImFontConfig *font_cfg) |
|
ImFont * | AddFontDefault (const ImFontConfig *font_cfg=NULL) |
|
ImFont * | AddFontFromFileTTF (const char *filename, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL) |
|
ImFont * | AddFontFromMemoryTTF (void *font_data, int font_size, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL) |
|
ImFont * | AddFontFromMemoryCompressedTTF (const void *compressed_font_data, int compressed_font_size, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL) |
|
ImFont * | AddFontFromMemoryCompressedBase85TTF (const char *compressed_font_data_base85, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL) |
|
void | ClearInputData () |
|
void | ClearTexData () |
|
void | ClearFonts () |
|
void | Clear () |
|
bool | Build () |
|
void | GetTexDataAsAlpha8 (unsigned char **out_pixels, int *out_width, int *out_height, int *out_bytes_per_pixel=NULL) |
|
void | GetTexDataAsRGBA32 (unsigned char **out_pixels, int *out_width, int *out_height, int *out_bytes_per_pixel=NULL) |
|
void | SetTexID (ImTextureID id) |
|
const ImWchar * | GetGlyphRangesDefault () |
|
const ImWchar * | GetGlyphRangesKorean () |
|
const ImWchar * | GetGlyphRangesJapanese () |
|
const ImWchar * | GetGlyphRangesChinese () |
|
const ImWchar * | GetGlyphRangesCyrillic () |
|
const ImWchar * | GetGlyphRangesThai () |
|
int | AddCustomRectRegular (unsigned int id, int width, int height) |
|
int | AddCustomRectFontGlyph (ImFont *font, ImWchar id, int width, int height, float advance_x, const ImVec2 &offset=ImVec2(0, 0)) |
|
const CustomRect * | GetCustomRectByIndex (int index) const |
|
void | CalcCustomRectUV (const CustomRect *rect, ImVec2 *out_uv_min, ImVec2 *out_uv_max) |
|
bool | GetMouseCursorTexData (ImGuiMouseCursor cursor, ImVec2 *out_offset, ImVec2 *out_size, ImVec2 out_uv_border[2], ImVec2 out_uv_fill[2]) |
|
ImFontAtlas::ImFontAtlas |
( |
| ) |
|
ImFontAtlas::~ImFontAtlas |
( |
| ) |
|
int ImFontAtlas::AddCustomRectRegular |
( |
unsigned int |
id, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
ImFont * ImFontAtlas::AddFontFromFileTTF |
( |
const char * |
filename, |
|
|
float |
size_pixels, |
|
|
const ImFontConfig * |
font_cfg = NULL , |
|
|
const ImWchar * |
glyph_ranges = NULL |
|
) |
| |
ImFont * ImFontAtlas::AddFontFromMemoryCompressedBase85TTF |
( |
const char * |
compressed_font_data_base85, |
|
|
float |
size_pixels, |
|
|
const ImFontConfig * |
font_cfg = NULL , |
|
|
const ImWchar * |
glyph_ranges = NULL |
|
) |
| |
ImFont * ImFontAtlas::AddFontFromMemoryCompressedTTF |
( |
const void * |
compressed_font_data, |
|
|
int |
compressed_font_size, |
|
|
float |
size_pixels, |
|
|
const ImFontConfig * |
font_cfg = NULL , |
|
|
const ImWchar * |
glyph_ranges = NULL |
|
) |
| |
ImFont * ImFontAtlas::AddFontFromMemoryTTF |
( |
void * |
font_data, |
|
|
int |
font_size, |
|
|
float |
size_pixels, |
|
|
const ImFontConfig * |
font_cfg = NULL , |
|
|
const ImWchar * |
glyph_ranges = NULL |
|
) |
| |
bool ImFontAtlas::Build |
( |
| ) |
|
void ImFontAtlas::Clear |
( |
| ) |
|
void ImFontAtlas::ClearFonts |
( |
| ) |
|
void ImFontAtlas::ClearInputData |
( |
| ) |
|
void ImFontAtlas::ClearTexData |
( |
| ) |
|
const CustomRect* ImFontAtlas::GetCustomRectByIndex |
( |
int |
index | ) |
const |
|
inline |
const ImWchar * ImFontAtlas::GetGlyphRangesChinese |
( |
| ) |
|
const ImWchar * ImFontAtlas::GetGlyphRangesCyrillic |
( |
| ) |
|
const ImWchar * ImFontAtlas::GetGlyphRangesDefault |
( |
| ) |
|
const ImWchar * ImFontAtlas::GetGlyphRangesJapanese |
( |
| ) |
|
const ImWchar * ImFontAtlas::GetGlyphRangesKorean |
( |
| ) |
|
const ImWchar * ImFontAtlas::GetGlyphRangesThai |
( |
| ) |
|
void ImFontAtlas::GetTexDataAsAlpha8 |
( |
unsigned char ** |
out_pixels, |
|
|
int * |
out_width, |
|
|
int * |
out_height, |
|
|
int * |
out_bytes_per_pixel = NULL |
|
) |
| |
void ImFontAtlas::GetTexDataAsRGBA32 |
( |
unsigned char ** |
out_pixels, |
|
|
int * |
out_width, |
|
|
int * |
out_height, |
|
|
int * |
out_bytes_per_pixel = NULL |
|
) |
| |
int ImFontAtlas::CustomRectIds[1] |
int ImFontAtlas::TexDesiredWidth |
int ImFontAtlas::TexGlyphPadding |
int ImFontAtlas::TexHeight |
unsigned char* ImFontAtlas::TexPixelsAlpha8 |
unsigned int* ImFontAtlas::TexPixelsRGBA32 |
ImVec2 ImFontAtlas::TexUvScale |
ImVec2 ImFontAtlas::TexUvWhitePixel |
int ImFontAtlas::TexWidth |
The documentation for this struct was generated from the following files: