|
GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
Public Types | |
| enum | { kTimesFontSize =200, kTimesFontHeight =200 } |
Public Types inherited from VGFont | |
| enum | { kFontNone = 0, kFontBold = 1, kFontItalic = 2, kFontUnderline = 4 } |
| Font properties. More... | |
Public Member Functions | |
| TimesFont (const char *name, int size, int properties) | |
| Construct times font with precalculated metrics. More... | |
| virtual | ~TimesFont () |
Public Member Functions inherited from StaticFont | |
| StaticFont (const char *name, int size, int properties) | |
| A font with pre-computed static metrics. More... | |
| virtual | ~StaticFont () |
| const char * | GetName () const |
| Returns the current object's name (as a string) More... | |
| int | GetSize () const |
| Returns the current object's size (as an int) More... | |
| int | GetProperties () const |
| Returns the current object's property value(s) (see enum above) More... | |
| virtual void | GetExtent (const char *s, int inCharCount, float *outWidth, float *outHeight, VGDevice *context) const |
| virtual void | GetExtent (int c, float *outWidth, float *outHeight, VGDevice *context) const |
Public Member Functions inherited from VGFont | |
| virtual | ~VGFont () |
Protected Member Functions | |
| virtual void | initialize () |
Protected Member Functions inherited from StaticFont | |
| float | GetExtend (int c) const |
Protected Member Functions inherited from VGFont | |
| void * | GetContext (VGDevice *context) const |
Additional Inherited Members | |
Protected Attributes inherited from StaticFont | |
| int | fExtends [kMaxTblIndex+1] |
| float | fRefSize =1 |
| int | fHeight =1 |
| int | fTblOffset =0 |
| std::string | fName |
| int | fSize |
| int | fProperties |
|
inline |
Construct times font with precalculated metrics.
|
inlinevirtual |
|
protectedvirtual |
Implements StaticFont.