FontConfigWrapper.h 1.0 KB

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include "imguiWrapperTypes.h"
  3. #ifdef __cplusplus
  4. extern "C"
  5. {
  6. #endif
  7. extern IggFontConfig iggNewFontConfig();
  8. extern void iggFontConfigDelete(IggFontConfig handle);
  9. extern void iggFontConfigSetSize(IggFontConfig handle, float sizePixels);
  10. extern void iggFontConfigSetOversampleH(IggFontConfig handle, int value);
  11. extern void iggFontConfigSetOversampleV(IggFontConfig handle, int value);
  12. extern void iggFontConfigSetPixelSnapH(IggFontConfig handle, IggBool value);
  13. extern void iggFontConfigSetGlyphMinAdvanceX(IggFontConfig handle, float value);
  14. extern void iggFontConfigSetGlyphMaxAdvanceX(IggFontConfig handle, float value);
  15. extern void iggFontConfigSetMergeMode(IggFontConfig handle, IggBool value);
  16. extern int iggFontConfigGetFontDataOwnedByAtlas(IggFontConfig handle);
  17. extern void iggFontConfigSetRasterizerMultiply(IggFontConfig handle, float value);
  18. extern unsigned int iggFontConfigGetFontBuilderFlags(IggFontConfig handle);
  19. extern void iggFontConfigSetFontBuilderFlags(IggFontConfig handle, unsigned int flags);
  20. #ifdef __cplusplus
  21. }
  22. #endif