mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@605 b9cfdab3-6d41-4d17-bbe4-086880011989
35 lines
494 B
C
35 lines
494 B
C
/* $Id$ */
|
|
/*!
|
|
* @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* MwFontLoad(unsigned char* data, unsigned int size);
|
|
|
|
/*!
|
|
* @brief Frees a font handle
|
|
* @param handle Handle
|
|
*/
|
|
MWDECL void MwFontFree(void* handle);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|