DirectWrite support (#28)
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

Reviewed-on: #28
This commit is contained in:
IoIxD 2026-07-18 11:39:52 +09:00 committed by IoI_xD
commit 575b8eaee1
17 changed files with 24715 additions and 54 deletions

View file

@ -344,10 +344,14 @@ MWDECL int MWFL_FT2Setup(void);
#ifdef USE_STB_TRUETYPE
MWDECL int MwFL_STBTTSetup(void);
#endif
#ifdef USE_DIRECTWRITE
MWDECL int MWFL_DWSetup(void);
#endif
MWDECL int (*MwFLDrawText)(MwWidget handle, MwFLFont ttf, MwPoint* point, const char* text, MwLLColor color);
MWDECL int (*MwFLTextWidth)(MwFLFont ttf, const char* text);
MWDECL int (*MwFLTextHeight)(MwFLFont ttf, int count);
MWDECL int (*MwFLTextHeightWithText)(MwFLFont ttf, const char * text);
MWDECL void* (*MwFLFontLoad)(unsigned char* data, unsigned int size, int px);
MWDECL void (*MwFLFontFree)(void* handle);