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

#include <imgui.h>

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 ImFontAddFontFromMemoryCompressedBase85TTF (const char *compressed_ttf_data_base85, 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 ImFontAddFontFromMemoryTTF (void *ttf_data, int ttf_size, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL)
 
IMGUI_API bool Build ()
 
IMGUI_API void Clear ()
 
IMGUI_API void ClearFonts ()
 
IMGUI_API void ClearInputData ()
 
IMGUI_API void ClearTexData ()
 
IMGUI_API const ImWcharGetGlyphRangesChinese ()
 
IMGUI_API const ImWcharGetGlyphRangesCyrillic ()
 
IMGUI_API const ImWcharGetGlyphRangesDefault ()
 
IMGUI_API const ImWcharGetGlyphRangesJapanese ()
 
IMGUI_API const ImWcharGetGlyphRangesKorean ()
 
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)
 
IMGUI_API ImFontAtlas ()
 
IMGUI_API void RenderCustomTexData (int pass, void *rects)
 
void SetTexID (void *id)
 
IMGUI_API ~ImFontAtlas ()
 

Public Attributes

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

Detailed Description

Definition at line 1341 of file imgui.h.

Constructor & Destructor Documentation

ImFontAtlas::ImFontAtlas ( )

Definition at line 1032 of file imgui_draw.cpp.

ImFontAtlas::~ImFontAtlas ( )

Definition at line 1041 of file imgui_draw.cpp.

Member Function Documentation

ImFont * ImFontAtlas::AddFont ( const ImFontConfig font_cfg)

Definition at line 1129 of file imgui_draw.cpp.

ImFont * ImFontAtlas::AddFontDefault ( const ImFontConfig font_cfg = NULL)

Definition at line 1175 of file imgui_draw.cpp.

ImFont * ImFontAtlas::AddFontFromFileTTF ( const char *  filename,
float  size_pixels,
const ImFontConfig font_cfg = NULL,
const ImWchar glyph_ranges = NULL 
)

Definition at line 1190 of file imgui_draw.cpp.

ImFont * ImFontAtlas::AddFontFromMemoryCompressedBase85TTF ( const char *  compressed_ttf_data_base85,
float  size_pixels,
const ImFontConfig font_cfg = NULL,
const ImWchar glyph_ranges = NULL 
)

Definition at line 1235 of file imgui_draw.cpp.

ImFont * ImFontAtlas::AddFontFromMemoryCompressedTTF ( const void compressed_ttf_data,
int  compressed_ttf_size,
float  size_pixels,
const ImFontConfig font_cfg = NULL,
const ImWchar glyph_ranges = NULL 
)

Definition at line 1223 of file imgui_draw.cpp.

ImFont * ImFontAtlas::AddFontFromMemoryTTF ( void ttf_data,
int  ttf_size,
float  size_pixels,
const ImFontConfig font_cfg = NULL,
const ImWchar glyph_ranges = NULL 
)

Definition at line 1211 of file imgui_draw.cpp.

bool ImFontAtlas::Build ( )

Definition at line 1245 of file imgui_draw.cpp.

void ImFontAtlas::Clear ( )

Definition at line 1085 of file imgui_draw.cpp.

void ImFontAtlas::ClearFonts ( )

Definition at line 1075 of file imgui_draw.cpp.

void ImFontAtlas::ClearInputData ( )

Definition at line 1046 of file imgui_draw.cpp.

void ImFontAtlas::ClearTexData ( )

Definition at line 1065 of file imgui_draw.cpp.

const ImWchar * ImFontAtlas::GetGlyphRangesChinese ( )

Definition at line 1564 of file imgui_draw.cpp.

const ImWchar * ImFontAtlas::GetGlyphRangesCyrillic ( )

Definition at line 1640 of file imgui_draw.cpp.

const ImWchar * ImFontAtlas::GetGlyphRangesDefault ( )

Definition at line 1542 of file imgui_draw.cpp.

const ImWchar * ImFontAtlas::GetGlyphRangesJapanese ( )

Definition at line 1578 of file imgui_draw.cpp.

const ImWchar * ImFontAtlas::GetGlyphRangesKorean ( )

Definition at line 1552 of file imgui_draw.cpp.

void ImFontAtlas::GetTexDataAsAlpha8 ( unsigned char **  out_pixels,
int *  out_width,
int *  out_height,
int *  out_bytes_per_pixel = NULL 
)

Definition at line 1092 of file imgui_draw.cpp.

void ImFontAtlas::GetTexDataAsRGBA32 ( unsigned char **  out_pixels,
int *  out_width,
int *  out_height,
int *  out_bytes_per_pixel = NULL 
)

Definition at line 1108 of file imgui_draw.cpp.

void ImFontAtlas::RenderCustomTexData ( int  pass,
void rects 
)

Definition at line 1449 of file imgui_draw.cpp.

void ImFontAtlas::SetTexID ( void id)
inline

Definition at line 1363 of file imgui.h.

Member Data Documentation

ImVector<ImFontConfig> ImFontAtlas::ConfigData

Definition at line 1385 of file imgui.h.

ImVector<ImFont*> ImFontAtlas::Fonts

Definition at line 1382 of file imgui.h.

int ImFontAtlas::TexDesiredWidth

Definition at line 1380 of file imgui.h.

int ImFontAtlas::TexHeight

Definition at line 1379 of file imgui.h.

void* ImFontAtlas::TexID

Definition at line 1375 of file imgui.h.

unsigned char* ImFontAtlas::TexPixelsAlpha8

Definition at line 1376 of file imgui.h.

unsigned int* ImFontAtlas::TexPixelsRGBA32

Definition at line 1377 of file imgui.h.

ImVec2 ImFontAtlas::TexUvWhitePixel

Definition at line 1381 of file imgui.h.

int ImFontAtlas::TexWidth

Definition at line 1378 of file imgui.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32