CSAD
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
csad::FontText Class Reference

FontText - Object bitmap texture font belongs to the font server. More...

Inheritance diagram for csad::FontText:
csad::Font csad::BaseObject

Public Member Functions

CSAD_API float height ()
 font height
 
CSAD_API void * set (unsigned _int32 id, void *param)
 used for any interface commands.
 
CSAD_API void setSize (int size)
 specifies the font size
 
- Public Member Functions inherited from csad::Font
virtual PLATFORM_API float addOutLine (int x, int y, char simvol, GeometryPath2I *path)
 Supplements geometry glyph of the specified character.
 
PLATFORM_API const char * getName ()
 return font name.
 
virtual PLATFORM_API void rasterText (void *raster, int x, int y, unsigned int color, int mode, char *text)
 Creates a raster of the text.
 
PLATFORM_API void setBold (bool val)
 Sets the font style bold.
 
PLATFORM_API void setItalic (bool val)
 Sets the font style inclined.
 
PLATFORM_API void setName (char *name)
 Specifies the name of the font, for some platforms, you set the font file name.
 
virtual PLATFORM_API void setStyle (int style)
 Sets the style of the font.
 
PLATFORM_API void setUnderLine (bool val)
 Sets the font style underlined.
 
virtual PLATFORM_API float width (char *text)
 Long labels.
 
- Public Member Functions inherited from csad::BaseObject
_FORCEINLINE bool isContainer ()
 returns true if the object is a container.
 
_FORCEINLINE ParametersListread (ParametersList *data)
 read attributes object.
 
_FORCEINLINE void * type ()
 the output pointer to the typeid() of the class.
 
_FORCEINLINE void write (ParametersList *data)
 record attributes of the object.
 

Additional Inherited Members

- Public Types inherited from csad::Font
enum  Style { NONE =0, BOLD = 1, ITALIC = 2, UNDERLINE = 4 }
 font style, can mix More...
 

Detailed Description

FontText - Object bitmap texture font belongs to the font server.

  <FontText name="name" font="font name" size="size font"/>
See Also
Font, FontServer, csad: platform