GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
Public Member Functions | |
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 |
![]() | |
virtual | ~VGFont () |
Protected Member Functions | |
virtual void | initialize ()=0 |
float | GetExtend (int c) const |
![]() | |
void * | GetContext (VGDevice *context) const |
Protected Attributes | |
int | fExtends [kMaxTblIndex+1] |
float | fRefSize =1 |
int | fHeight =1 |
int | fTblOffset =0 |
std::string | fName |
int | fSize |
int | fProperties |
Additional Inherited Members | |
![]() | |
enum | { kFontNone = 0, kFontBold = 1, kFontItalic = 2, kFontUnderline = 4 } |
Font properties. More... | |
|
inline |
A font with pre-computed static metrics.
|
inlinevirtual |
|
inlineprotected |
|
virtual |
|
virtual |
|
inlinevirtual |
Returns the current object's name (as a string)
Implements VGFont.
|
inlinevirtual |
Returns the current object's property value(s) (see enum above)
Implements VGFont.
|
inlinevirtual |
Returns the current object's size (as an int)
Implements VGFont.
|
protectedpure virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |