milsko/include/Mw/Font.h
IoIxD 8c1c9228b7
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
use unix2dos to undo what windows did
2026-07-16 15:44:09 -07:00

33 lines
495 B
C

/*!
* @file Mw/Font.h
* @brief Font
*/
#ifndef __MW_FONT_H__
#define __MW_FONT_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Loads a TTF Font
* @param data Data
* @param size Data size
* @return Font handle
*/
MWDECL void* MWAPI MwFontLoad(unsigned char* data, unsigned int size);
/*!
* @brief Frees a font handle
* @param handle Handle
*/
MWDECL void MWAPI MwFontFree(void* handle);
#ifdef __cplusplus
}
#endif
#endif