Classes | Macros | Functions | Variables
imgui_freetype.cpp File Reference
#include "imgui_freetype.h"
#include "imgui_internal.h"
#include <stdint.h>
#include <ft2build.h>
#include "imstb_rectpack.h"
Include dependency graph for imgui_freetype.cpp:

Go to the source code of this file.

Classes

struct  ImFontBuildDstDataFT
 
struct  ImFontBuildSrcDataFT
 
struct  ImFontBuildSrcGlyphFT
 

Macros

#define FT_CEIL(X)   (((X + 63) & -64) / 64)
 
#define STB_RECT_PACK_IMPLEMENTATION
 
#define STBRP_ASSERT(x)   IM_ASSERT(x)
 
#define STBRP_STATIC
 

Functions

static voidFreeType_Alloc (FT_Memory, long size)
 
static void FreeType_Free (FT_Memory, void *block)
 
static voidFreeType_Realloc (FT_Memory, long cur_size, long new_size, void *block)
 
bool ImFontAtlasBuildWithFreeType (FT_Library ft_library, ImFontAtlas *atlas, unsigned int extra_flags)
 
static voidImFreeTypeDefaultAllocFunc (size_t size, void *user_data)
 
static void ImFreeTypeDefaultFreeFunc (void *ptr, void *user_data)
 

Variables

static voidGImFreeTypeAllocatorUserData = NULL
 
static void *(* GImFreeTypeAllocFunc )(size_t size, void *user_data) = ImFreeTypeDefaultAllocFunc
 
static void(* GImFreeTypeFreeFunc )(void *ptr, void *user_data) = ImFreeTypeDefaultFreeFunc
 

Macro Definition Documentation

◆ FT_CEIL

#define FT_CEIL (   X)    (((X + 63) & -64) / 64)

Definition at line 118 of file imgui_freetype.cpp.

◆ STB_RECT_PACK_IMPLEMENTATION

#define STB_RECT_PACK_IMPLEMENTATION

Definition at line 285 of file imgui_freetype.cpp.

◆ STBRP_ASSERT

#define STBRP_ASSERT (   x)    IM_ASSERT(x)

Definition at line 283 of file imgui_freetype.cpp.

◆ STBRP_STATIC

#define STBRP_STATIC

Definition at line 284 of file imgui_freetype.cpp.

Function Documentation

◆ FreeType_Alloc()

static void* FreeType_Alloc ( FT_Memory  ,
long  size 
)
static

Definition at line 619 of file imgui_freetype.cpp.

◆ FreeType_Free()

static void FreeType_Free ( FT_Memory  ,
void block 
)
static

Definition at line 624 of file imgui_freetype.cpp.

◆ FreeType_Realloc()

static void* FreeType_Realloc ( FT_Memory  ,
long  cur_size,
long  new_size,
void block 
)
static

Definition at line 629 of file imgui_freetype.cpp.

◆ ImFontAtlasBuildWithFreeType()

bool ImFontAtlasBuildWithFreeType ( FT_Library  ft_library,
ImFontAtlas atlas,
unsigned int  extra_flags 
)

Definition at line 322 of file imgui_freetype.cpp.

◆ ImFreeTypeDefaultAllocFunc()

static void* ImFreeTypeDefaultAllocFunc ( size_t  size,
void user_data 
)
static

Definition at line 610 of file imgui_freetype.cpp.

◆ ImFreeTypeDefaultFreeFunc()

static void ImFreeTypeDefaultFreeFunc ( void ptr,
void user_data 
)
static

Definition at line 611 of file imgui_freetype.cpp.

Variable Documentation

◆ GImFreeTypeAllocatorUserData

void* GImFreeTypeAllocatorUserData = NULL
static

Definition at line 616 of file imgui_freetype.cpp.

◆ GImFreeTypeAllocFunc

void*(* GImFreeTypeAllocFunc) (size_t size, void *user_data) = ImFreeTypeDefaultAllocFunc
static

Definition at line 614 of file imgui_freetype.cpp.

◆ GImFreeTypeFreeFunc

void(* GImFreeTypeFreeFunc) (void *ptr, void *user_data) = ImFreeTypeDefaultFreeFunc
static

Definition at line 615 of file imgui_freetype.cpp.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:03