#pragma once #include "imguiWrapperTypes.h" #ifdef __cplusplus extern "C" { #endif extern IggGlyphRanges iggGetGlyphRangesAll(); extern IggGlyphRanges iggGetGlyphRangesDefault(IggFontAtlas handle); extern IggGlyphRanges iggGetGlyphRangesKorean(IggFontAtlas handle); extern IggGlyphRanges iggGetGlyphRangesJapanese(IggFontAtlas handle); extern IggGlyphRanges iggGetGlyphRangesChineseFull(IggFontAtlas handle); extern IggGlyphRanges iggGetGlyphRangesChineseSimplifiedCommon(IggFontAtlas handle); extern IggGlyphRanges iggGetGlyphRangesCyrillic(IggFontAtlas handle); extern IggGlyphRanges iggGetGlyphRangesThai(IggFontAtlas handle); extern IggFont iggAddFontDefault(IggFontAtlas handle); extern IggFont iggAddFontDefaultV(IggFontAtlas handle, IggFontConfig config); extern IggFont iggAddFontFromFileTTF(IggFontAtlas handle, char const *filename, float sizePixels, IggFontConfig config, IggGlyphRanges glyphRanges); extern IggFont iggAddFontFromMemoryTTF(IggFontAtlas handle, char *font_data, int font_size, float sizePixels, IggFontConfig config, IggGlyphRanges glyphRanges); extern int iggFontAtlasFontCount(IggFontAtlas handle); extern void iggFontAtlasSetTexDesiredWidth(IggFontAtlas handle, int value); extern void iggFontAtlasGetTexDataAsAlpha8(IggFontAtlas handle, unsigned char **pixels, int *width, int *height, int *bytesPerPixel); extern void iggFontAtlasGetTexDataAsRGBA32(IggFontAtlas handle, unsigned char **pixels, int *width, int *height, int *bytesPerPixel); extern void iggFontAtlasSetTextureID(IggFontAtlas handle, IggTextureID id); extern void iggFontAtlasBuild(IggFontAtlas handle); extern void iggFontAtlasClear(IggFontAtlas handle); extern unsigned int iggFontAtlasGetFontBuilderFlags(IggFontAtlas handle); extern void iggFontAtlasSetFontBuilderFlags(IggFontAtlas handle, unsigned int flags); #ifdef __cplusplus } #endif