siplasplas
Public Member Functions | Public Attributes | List of all members
ImFontAtlas Struct Reference

Public Member Functions

IMGUI_API ImFontAddFont (const ImFontConfig *font_cfg)
 
IMGUI_API ImFontAddFontDefault (const ImFontConfig *font_cfg=NULL)
 
IMGUI_API ImFontAddFontFromFileTTF (const char *filename, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL)
 
IMGUI_API ImFontAddFontFromMemoryTTF (void *ttf_data, int ttf_size, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL)
 
IMGUI_API ImFontAddFontFromMemoryCompressedTTF (const void *compressed_ttf_data, int compressed_ttf_size, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL)
 
IMGUI_API ImFontAddFontFromMemoryCompressedBase85TTF (const char *compressed_ttf_data_base85, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL)
 
IMGUI_API void ClearTexData ()
 
IMGUI_API void ClearInputData ()
 
IMGUI_API void ClearFonts ()
 
IMGUI_API void Clear ()
 
IMGUI_API void GetTexDataAsAlpha8 (unsigned char **out_pixels, int *out_width, int *out_height, int *out_bytes_per_pixel=NULL)
 
IMGUI_API void GetTexDataAsRGBA32 (unsigned char **out_pixels, int *out_width, int *out_height, int *out_bytes_per_pixel=NULL)
 
void SetTexID (void *id)
 
IMGUI_API const ImWchar * GetGlyphRangesDefault ()
 
IMGUI_API const ImWchar * GetGlyphRangesKorean ()
 
IMGUI_API const ImWchar * GetGlyphRangesJapanese ()
 
IMGUI_API const ImWchar * GetGlyphRangesChinese ()
 
IMGUI_API const ImWchar * GetGlyphRangesCyrillic ()
 
IMGUI_API bool Build ()
 
IMGUI_API void RenderCustomTexData (int pass, void *rects)
 

Public Attributes

void * TexID
 
unsigned char * TexPixelsAlpha8
 
unsigned int * TexPixelsRGBA32
 
int TexWidth
 
int TexHeight
 
int TexDesiredWidth
 
ImVec2 TexUvWhitePixel
 
ImVector< ImFont * > Fonts
 
ImVector< ImFontConfigConfigData
 

The documentation for this struct was generated from the following files: