openMSX
Classes | Macros | Functions
imgui_freetype.cc File Reference
#include "imgui.h"
#include "imgui_freetype.h"
#include "imgui_internal.h"
#include <stdint.h>
#include <ft2build.h>
#include <FT_FREETYPE_H>
#include <FT_MODULE_H>
#include <FT_GLYPH_H>
#include <FT_SYNTHESIS_H>
#include "imstb_rectpack.h"
Include dependency graph for imgui_freetype.cc:

Go to the source code of this file.

Classes

struct  ImFontBuildSrcGlyphFT
 
struct  ImFontBuildSrcDataFT
 
struct  ImFontBuildDstDataFT
 

Macros

#define FT_CEIL(X)   (((X + 63) & -64) / 64)
 
#define DE_MULTIPLY(color, alpha)   (ImU32)(255.0f * (float)color / (float)alpha + 0.5f)
 
#define STBRP_ASSERT(x)   do { IM_ASSERT(x); } while (0)
 
#define STBRP_STATIC
 
#define STB_RECT_PACK_IMPLEMENTATION
 

Functions

bool ImFontAtlasBuildWithFreeTypeEx (FT_Library ft_library, ImFontAtlas *atlas, unsigned int extra_flags)
 

Macro Definition Documentation

◆ DE_MULTIPLY

#define DE_MULTIPLY (   color,
  alpha 
)    (ImU32)(255.0f * (float)color / (float)alpha + 0.5f)

◆ FT_CEIL

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

Definition at line 175 of file imgui_freetype.cc.

◆ STB_RECT_PACK_IMPLEMENTATION

#define STB_RECT_PACK_IMPLEMENTATION

Definition at line 394 of file imgui_freetype.cc.

◆ STBRP_ASSERT

#define STBRP_ASSERT (   x)    do { IM_ASSERT(x); } while (0)

Definition at line 392 of file imgui_freetype.cc.

◆ STBRP_STATIC

#define STBRP_STATIC

Definition at line 393 of file imgui_freetype.cc.

Function Documentation

◆ ImFontAtlasBuildWithFreeTypeEx()

bool ImFontAtlasBuildWithFreeTypeEx ( FT_Library  ft_library,
ImFontAtlas *  atlas,
unsigned int  extra_flags 
)