orx 1.16
Portable Game Engine
Loading...
Searching...
No Matches
orxFont.h File Reference
#include "orxInclude.h"
#include "display/orxTexture.h"
#include "math/orxVector.h"
#include "render/orxShader.h"

Go to the source code of this file.

Macros

#define orxFONT_KZ_ANSI   "ansi"
#define orxFONT_KZ_ASCII   "ascii"
#define orxFONT_KZ_CONFIG_CHARACTER_HEIGHT   "CharacterHeight"
#define orxFONT_KZ_CONFIG_CHARACTER_LIST   "CharacterList"
#define orxFONT_KZ_CONFIG_CHARACTER_PADDING   "CharacterPadding"
#define orxFONT_KZ_CONFIG_CHARACTER_SIZE   "CharacterSize"
#define orxFONT_KZ_CONFIG_CHARACTER_SPACING   "CharacterSpacing"
#define orxFONT_KZ_CONFIG_CHARACTER_WIDTH_LIST   "CharacterWidthList"
#define orxFONT_KZ_CONFIG_KEEP_IN_CACHE   "KeepInCache"
#define orxFONT_KZ_CONFIG_SDF   "SDF"
#define orxFONT_KZ_CONFIG_SHADER   "Shader"
#define orxFONT_KZ_CONFIG_TEXTURE_NAME   "Texture"
#define orxFONT_KZ_CONFIG_TEXTURE_ORIGIN   "TextureOrigin"
#define orxFONT_KZ_CONFIG_TEXTURE_SIZE   "TextureSize"
#define orxFONT_KZ_CONFIG_TYPEFACE   "Typeface"
#define orxFONT_KZ_DEFAULT_FONT_NAME   "orx:font:default"
#define orxFONT_KZ_DEFAULT_TEXTURE_NAME   "orx:texture:font:default"
#define orxFONT_KZ_RESOURCE_GROUP   "Font"
#define orxFONT_KZ_SDF_SHADER_NAME   "orx:shader:font:sdf"

Typedefs

typedef struct __orxFONT_t orxFONT

Functions

orxDLLAPI orxSTATUS orxFASTCALL orxFont_ClearCache ()
orxDLLAPI orxFONT *orxFASTCALL orxFont_Create ()
orxDLLAPI orxFONT *orxFASTCALL orxFont_CreateFromConfig (const orxSTRING _zConfigID)
orxDLLAPI orxSTATUS orxFASTCALL orxFont_Delete (orxFONT *_pstFont)
orxDLLAPI void orxFASTCALL orxFont_Exit ()
orxDLLAPI orxFONT *orxFASTCALL orxFont_Get (const orxSTRING _zName)
orxDLLAPI orxFLOAT orxFASTCALL orxFont_GetCharacterHeight (const orxFONT *_pstFont)
orxDLLAPI const orxSTRING orxFASTCALL orxFont_GetCharacterList (const orxFONT *_pstFont)
orxDLLAPI orxVECTOR *orxFASTCALL orxFont_GetCharacterSpacing (const orxFONT *_pstFont, orxVECTOR *_pvSpacing)
orxDLLAPI orxFLOAT orxFASTCALL orxFont_GetCharacterWidth (const orxFONT *_pstFont, orxU32 _u32CharacterCodePoint)
orxDLLAPI const orxCHARACTER_MAP *orxFASTCALL orxFont_GetMap (const orxFONT *_pstFont)
orxDLLAPI const orxSTRING orxFASTCALL orxFont_GetName (const orxFONT *_pstFont)
orxDLLAPI orxVECTOR *orxFASTCALL orxFont_GetOrigin (const orxFONT *_pstFont, orxVECTOR *_pvOrigin)
orxDLLAPI const orxSHADER *orxFASTCALL orxFont_GetShader (const orxFONT *_pstFont)
orxDLLAPI orxVECTOR *orxFASTCALL orxFont_GetSize (const orxFONT *_pstFont, orxVECTOR *_pvSize)
orxDLLAPI orxTEXTURE *orxFASTCALL orxFont_GetTexture (const orxFONT *_pstFont)
orxDLLAPI orxSTATUS orxFASTCALL orxFont_Init ()
orxDLLAPI orxBOOL orxFASTCALL orxFont_IsSDF (const orxFONT *_pstFont)
orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetCharacterHeight (orxFONT *_pstFont, orxFLOAT _fCharacterHeight)
orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetCharacterList (orxFONT *_pstFont, const orxSTRING _zList)
orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetCharacterSpacing (orxFONT *_pstFont, const orxVECTOR *_pvSpacing)
orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetCharacterWidthList (orxFONT *_pstFont, orxU32 _u32CharacterNumber, const orxFLOAT *_afCharacterWidthList)
orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetOrigin (orxFONT *_pstFont, const orxVECTOR *_pvOrigin)
orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetShader (orxFONT *_pstFont, orxSHADER *_pstShader)
orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetShaderFromConfig (orxFONT *_pstFont, const orxSTRING _zShaderID)
orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetSize (orxFONT *_pstFont, const orxVECTOR *_pvSize)
orxDLLAPI orxSTATUS orxFASTCALL orxFont_SetTexture (orxFONT *_pstFont, orxTEXTURE *_pstTexture)
orxDLLAPI void orxFASTCALL orxFont_Setup ()

Detailed Description


Generated for orx by doxygen 1.8.11