nFont2 Class Reference
#include <nfont2.h>
Inheritance diagram for nFont2:

Detailed Description
A font resource class.(C) 2003 RadonLabs GmbH
Definition at line 16 of file nfont2.h.
Public Types | |
| enum | RenderFlags { Bottom = (1<<0), Top = (1<<1), Center = (1<<2), Left = (1<<3), Right = (1<<4), VCenter = (1<<5), NoClip = (1<<6), ExpandTabs = (1<<7), WordBreak = (1<<8) } |
| rendering flags (apply to nGfxServer2::DrawText()) More... | |
Public Member Functions | |
| nFont2 () | |
| constructor | |
| virtual | ~nFont2 () |
| destructor | |
| void | SetFontDesc (const nFontDesc &desc) |
| set font description | |
| const nFontDesc & | GetFontDesc () const |
| get font description | |
Static Public Member Functions | |
| static RenderFlags | StringToRenderFlag (const char *str) |
| convert render flag string to enum | |
| static const char * | RenderFalgToString (RenderFlags renderFlag) |
| convert render flag enum to string | |
Protected Attributes | |
| nFontDesc | fontDesc |
Member Enumeration Documentation
|
|
rendering flags (apply to nGfxServer2::DrawText())
|
Constructor & Destructor Documentation
|
|
constructor
Definition at line 12 of file nfont2_main.cc. |
|
|
destructor
Definition at line 20 of file nfont2_main.cc. |
Member Function Documentation
|
|
set font description
Definition at line 32 of file nfont2_main.cc. |
|
|
get font description
Definition at line 41 of file nfont2_main.cc. |
|
|
convert render flag string to enum Convert the given string to its corresponded render flag. |
|
|
convert render flag enum to string
|
Member Data Documentation
|
|
|
The documentation for this class was generated from the following files: