Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00043 #ifndef _orxFONT_H_
00044 #define _orxFONT_H_
00045
00046 #include "orxInclude.h"
00047
00048 #include "display/orxTexture.h"
00049 #include "math/orxVector.h"
00050
00051
00053 typedef struct __orxFONT_t orxFONT;
00054
00055
00058 extern orxDLLAPI void orxFASTCALL orxFont_Setup();
00059
00063 extern orxDLLAPI orxSTATUS orxFASTCALL orxFont_Init();
00064
00067 extern orxDLLAPI void orxFASTCALL orxFont_Exit();
00068
00069
00073 extern orxDLLAPI orxFONT *orxFASTCALL orxFont_Create();
00074
00079 extern orxDLLAPI orxFONT *orxFASTCALL orxFont_CreateFromConfig(const orxSTRING _zConfigID);
00080
00085 extern orxDLLAPI orxSTATUS orxFASTCALL orxFont_Delete(orxFONT *_pstFont);
00086
00087
00091 extern orxDLLAPI const orxFONT *orxFASTCALL orxFont_GetDefaultFont();
00092
00093
00099 extern orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetTexture(orxFONT *_pstFont, orxTEXTURE *_pstTexture);
00100
00106 extern orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetCharacterList(orxFONT *_pstFont, const orxSTRING _zList);
00107
00113 extern orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetCharacterHeight(orxFONT *_pstFont, orxFLOAT _fCharacterHeight);
00114
00121 extern orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetCharacterWidthList(orxFONT *_pstFont, orxU32 _u32CharacterNumber, const orxFLOAT *_afCharacterWidthList);
00122
00128 extern orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetCharacterSpacing(orxFONT *_pstFont, const orxVECTOR *_pvSpacing);
00129
00135 extern orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetOrigin(orxFONT *_pstFont, const orxVECTOR *_pvOrigin);
00136
00142 extern orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetSize(orxFONT *_pstFont, const orxVECTOR *_pvSize);
00143
00144
00149 extern orxDLLAPI orxTEXTURE *orxFASTCALL orxFont_GetTexture(const orxFONT *_pstFont);
00150
00155 extern orxDLLAPI const orxSTRING orxFASTCALL orxFont_GetCharacterList(const orxFONT *_pstFont);
00156
00161 extern orxDLLAPI orxFLOAT orxFASTCALL orxFont_GetCharacterHeight(const orxFONT *_pstFont);
00162
00168 extern orxDLLAPI orxFLOAT orxFASTCALL orxFont_GetCharacterWidth(const orxFONT *_pstFont, orxU32 _u32CharacterCodePoint);
00169
00175 extern orxDLLAPI orxVECTOR *orxFASTCALL orxFont_GetCharacterSpacing(const orxFONT *_pstFont, orxVECTOR *_pvSpacing);
00176
00182 extern orxDLLAPI orxVECTOR *orxFASTCALL orxFont_GetOrigin(const orxFONT *_pstFont, orxVECTOR *_pvOrigin);
00183
00189 extern orxDLLAPI orxVECTOR *orxFASTCALL orxFont_GetSize(const orxFONT *_pstFont, orxVECTOR *_pvSize);
00190
00191
00196 extern orxDLLAPI const orxCHARACTER_MAP *orxFASTCALL orxFont_GetMap(const orxFONT *_pstFont);
00197
00198
00203 extern orxDLLAPI const orxSTRING orxFASTCALL orxFont_GetName(const orxFONT *_pstFont);
00204
00205 #endif
00206