forked from inkyblackness/imgui-go
-
Notifications
You must be signed in to change notification settings - Fork 15
/
FontConfigWrapper.h
27 lines (22 loc) · 1.04 KB
/
FontConfigWrapper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include "imguiWrapperTypes.h"
#ifdef __cplusplus
extern "C"
{
#endif
extern IggFontConfig iggNewFontConfig();
extern void iggFontConfigDelete(IggFontConfig handle);
extern void iggFontConfigSetSize(IggFontConfig handle, float sizePixels);
extern void iggFontConfigSetOversampleH(IggFontConfig handle, int value);
extern void iggFontConfigSetOversampleV(IggFontConfig handle, int value);
extern void iggFontConfigSetPixelSnapH(IggFontConfig handle, IggBool value);
extern void iggFontConfigSetGlyphMinAdvanceX(IggFontConfig handle, float value);
extern void iggFontConfigSetGlyphMaxAdvanceX(IggFontConfig handle, float value);
extern void iggFontConfigSetMergeMode(IggFontConfig handle, IggBool value);
extern int iggFontConfigGetFontDataOwnedByAtlas(IggFontConfig handle);
extern void iggFontConfigSetRasterizerMultiply(IggFontConfig handle, float value);
extern unsigned int iggFontConfigGetFontBuilderFlags(IggFontConfig handle);
extern void iggFontConfigSetFontBuilderFlags(IggFontConfig handle, unsigned int flags);
#ifdef __cplusplus
}
#endif