|
KGFont * | AddFont (const KGFontConfig *font_cfg) |
|
KGFont * | AddFontDefault (const KGFontConfig *font_cfg=NULL) |
|
KGFont * | AddFontFromFileTTF (const char *filename, float size_pixels, const KGFontConfig *font_cfg=NULL, const KGWchar *glyph_ranges=NULL) |
|
KGFont * | AddFontFromMemoryTTF (void *font_data, int font_size, float size_pixels, const KGFontConfig *font_cfg=NULL, const KGWchar *glyph_ranges=NULL) |
|
KGFont * | AddFontFromMemoryCompressedTTF (const void *compressed_font_data, int compressed_font_size, float size_pixels, const KGFontConfig *font_cfg=NULL, const KGWchar *glyph_ranges=NULL) |
|
KGFont * | AddFontFromMemoryCompressedBase85TTF (const char *compressed_font_data_base85, float size_pixels, const KGFontConfig *font_cfg=NULL, const KGWchar *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) |
|
bool | IsBuilt () const |
|
void | SetTexID (KGTextureID id) |
|
int | AddCustomRectRegular (int width, int height) |
|
int | AddCustomRectFontGlyph (KGFont *font, KGWchar id, int width, int height, float advance_x, const KGVec2 &offset=KGVec2(0, 0)) |
|
KGFontAtlasCustomRect * | GetCustomRectByIndex (int index) |
|
void | CalcCustomRectUV (const KGFontAtlasCustomRect *rect, KGVec2 *out_uv_min, KGVec2 *out_uv_max) const |
|
bool | GetMouseCursorTexData (KarmaGuiMouseCursor cursor, KGVec2 *out_offset, KGVec2 *out_size, KGVec2 out_uv_border[2], KGVec2 out_uv_fill[2]) |
|