#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"
Go to the source code of this file.
◆ 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) |
◆ STB_RECT_PACK_IMPLEMENTATION
#define STB_RECT_PACK_IMPLEMENTATION |
◆ STBRP_ASSERT
#define STBRP_ASSERT |
( |
|
x | ) |
do { IM_ASSERT(x); } while (0) |
◆ STBRP_STATIC
◆ ImFontAtlasBuildWithFreeTypeEx()
bool ImFontAtlasBuildWithFreeTypeEx |
( |
FT_Library |
ft_library, |
|
|
ImFontAtlas * |
atlas, |
|
|
unsigned int |
extra_flags |
|
) |
| |
Definition at line 433 of file imgui_freetype.cc.
References ImFontBuildSrcGlyphFT::BitmapData, ImFontBuildSrcGlyphFT::Codepoint, ImFontBuildSrcDataFT::DstIndex, ImFontBuildSrcDataFT::Font, ImFontBuildSrcDataFT::GlyphsCount, ImFontBuildDstDataFT::GlyphsCount, ImFontBuildSrcDataFT::GlyphsHighest, ImFontBuildDstDataFT::GlyphsHighest, ImFontBuildSrcDataFT::GlyphsList, ImFontBuildSrcDataFT::GlyphsSet, ImFontBuildDstDataFT::GlyphsSet, ImFontAtlasBuildFinish(), ImFontAtlasBuildInit(), ImFontAtlasBuildMultiplyCalcLookupTable(), ImFontAtlasBuildPackCustomRects(), ImFontAtlasBuildSetupFont(), ImFontBuildSrcGlyphFT::Info, ImFontBuildSrcDataFT::Rects, ImFontBuildDstDataFT::SrcCount, and ImFontBuildSrcDataFT::SrcRanges.