AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzFont Class Reference

#include <CzFont.h>

Inheritance diagram for CzFont:
IzXomlResource

List of all members.

Public Types

enum  eState { State_Invalid, State_Loading, State_Loaded }

Public Member Functions

eState getState () const
CzFontHandle getFontHandle ()
void setPointSize (float size)
float getPointSize () const
CzFontgetUsingFont ()
void setFilename (const char *filename)
CzStringgetFilename ()
bool isFontLoaded () const
uint8 * getFontBuffer ()
uint getFontBufferSize ()
 CzFont ()
virtual ~CzFont ()
bool Load (bool blocking=true)
int LoadFromXoml (IzXomlResource *parebt, bool load_children, CzXmlNode *node)
CzFontPreparedText CreatePreparedText ()
void FinishLoad ()

Protected Attributes

eState State
CzFontHandle Font
float PointSize
CzString Filename
CzFontUsingFont
uint8 * FontBuffer
uint FontBufferSize
CzFileFile
bool Delete

Member Enumeration Documentation

Enumerator:
State_Invalid 
State_Loading 
State_Loaded 

Constructor & Destructor Documentation

CzFont::CzFont ( ) [inline]
CzFont::~CzFont ( ) [virtual]

Member Function Documentation

uint8* CzFont::getFontBuffer ( ) [inline]
uint CzFont::getFontBufferSize ( ) [inline]
float CzFont::getPointSize ( ) const [inline]
eState CzFont::getState ( ) const [inline]
bool CzFont::isFontLoaded ( ) const [inline]
bool CzFont::Load ( bool  blocking = true)
int CzFont::LoadFromXoml ( IzXomlResource parebt,
bool  load_children,
CzXmlNode node 
) [virtual]

Implements IzXomlResource.

void CzFont::setFilename ( const char *  filename) [inline]
void CzFont::setPointSize ( float  size) [inline]

Member Data Documentation

bool CzFont::Delete [protected]
CzFile* CzFont::File [protected]
uint8* CzFont::FontBuffer [protected]
uint CzFont::FontBufferSize [protected]
float CzFont::PointSize [protected]
eState CzFont::State [protected]
CzFont* CzFont::UsingFont [protected]

The documentation for this class was generated from the following files: