OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Public Member Functions | Public Attributes | List of all members
ImFontAtlas Struct Reference

#include <imgui.h>

Collaboration diagram for ImFontAtlas:
[legend]

Public Member Functions

IMGUI_API ImFontAtlas ()
 
IMGUI_API ~ImFontAtlas ()
 
IMGUI_API ImFontAddFontDefault ()
 
IMGUI_API ImFontAddFontFromFileTTF (const char *filename, float size_pixels, const ImWchar *glyph_ranges=NULL, int font_no=0)
 
IMGUI_API ImFontAddFontFromMemoryTTF (void *in_ttf_data, size_t in_ttf_data_size, float size_pixels, const ImWchar *glyph_ranges=NULL, int font_no=0)
 
IMGUI_API void ClearTexData ()
 
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)
 
IMGUI_API void SetTexID (void *id)
 
IMGUI_API const ImWcharGetGlyphRangesDefault ()
 
IMGUI_API const ImWcharGetGlyphRangesJapanese ()
 
IMGUI_API const ImWcharGetGlyphRangesChinese ()
 
IMGUI_API bool Build ()
 
IMGUI_API void ClearInputData ()
 
IMGUI_API void RenderCustomTexData ()
 

Public Attributes

void * TexID
 
unsigned char * TexPixelsAlpha8
 
unsigned int * TexPixelsRGBA32
 
int TexWidth
 
int TexHeight
 
ImVec2 TexExtraDataPos
 
ImVec2 TexUvWhitePixel
 
ImVector< ImFont * > Fonts
 
ImVector< ImFontAtlasData * > InputData
 

Detailed Description

Definition at line 878 of file imgui.h.

Constructor & Destructor Documentation

ImFontAtlas::ImFontAtlas ( )

Definition at line 7220 of file imgui.cpp.

ImFontAtlas::~ImFontAtlas ( )

Definition at line 7229 of file imgui.cpp.

Member Function Documentation

ImFont * ImFontAtlas::AddFontDefault ( )

Definition at line 7320 of file imgui.cpp.

ImFont * ImFontAtlas::AddFontFromFileTTF ( const char *  filename,
float  size_pixels,
const ImWchar glyph_ranges = NULL,
int  font_no = 0 
)

Definition at line 7338 of file imgui.cpp.

ImFont * ImFontAtlas::AddFontFromMemoryTTF ( void *  in_ttf_data,
size_t  in_ttf_data_size,
float  size_pixels,
const ImWchar glyph_ranges = NULL,
int  font_no = 0 
)

Definition at line 7354 of file imgui.cpp.

void ImFontAtlas::ClearTexData ( )

Definition at line 7245 of file imgui.cpp.

void ImFontAtlas::Clear ( )

Definition at line 7255 of file imgui.cpp.

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

Definition at line 7278 of file imgui.cpp.

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

Definition at line 7294 of file imgui.cpp.

IMGUI_API void ImFontAtlas::SetTexID ( void *  id)
inline

Definition at line 895 of file imgui.h.

const ImWchar * ImFontAtlas::GetGlyphRangesDefault ( )

Definition at line 7616 of file imgui.cpp.

const ImWchar * ImFontAtlas::GetGlyphRangesJapanese ( )

Definition at line 7640 of file imgui.cpp.

const ImWchar * ImFontAtlas::GetGlyphRangesChinese ( )

Definition at line 7626 of file imgui.cpp.

bool ImFontAtlas::Build ( )

Definition at line 7378 of file imgui.cpp.

void ImFontAtlas::ClearInputData ( )

Definition at line 7234 of file imgui.cpp.

void ImFontAtlas::RenderCustomTexData ( )

Definition at line 7551 of file imgui.cpp.

Member Data Documentation

void* ImFontAtlas::TexID

Definition at line 905 of file imgui.h.

unsigned char* ImFontAtlas::TexPixelsAlpha8

Definition at line 906 of file imgui.h.

unsigned int* ImFontAtlas::TexPixelsRGBA32

Definition at line 907 of file imgui.h.

int ImFontAtlas::TexWidth

Definition at line 908 of file imgui.h.

int ImFontAtlas::TexHeight

Definition at line 909 of file imgui.h.

ImVec2 ImFontAtlas::TexExtraDataPos

Definition at line 910 of file imgui.h.

ImVec2 ImFontAtlas::TexUvWhitePixel

Definition at line 911 of file imgui.h.

ImVector<ImFont*> ImFontAtlas::Fonts

Definition at line 912 of file imgui.h.

ImVector<ImFontAtlasData*> ImFontAtlas::InputData

Definition at line 915 of file imgui.h.


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