a SVG font class.
More...
|
| SVGFont (const char *name, int size, int properties) |
|
virtual | ~SVGFont () |
|
virtual const char * | GetName () const |
| Returns the current object's name (as a string) More...
|
|
virtual int | GetSize () const |
| Returns the current object's size (as an int) More...
|
|
virtual 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 () |
|
◆ SVGFont()
SVGFont::SVGFont |
( |
const char * |
name, |
|
|
int |
size, |
|
|
int |
properties |
|
) |
| |
◆ ~SVGFont()
virtual SVGFont::~SVGFont |
( |
| ) |
|
|
virtual |
◆ GetExtent() [1/2]
virtual void SVGFont::GetExtent |
( |
const char * |
s, |
|
|
int |
inCharCount, |
|
|
float * |
outWidth, |
|
|
float * |
outHeight, |
|
|
VGDevice * |
context |
|
) |
| const |
|
virtual |
Computes the width and height of the input string using the current font capabilities in the input VGDevice
Implements VGFont.
◆ GetExtent() [2/2]
virtual void SVGFont::GetExtent |
( |
int |
c, |
|
|
float * |
outWidth, |
|
|
float * |
outHeight, |
|
|
VGDevice * |
context |
|
) |
| const |
|
virtual |
Computes the width and height of the input character using the current font capabilities in the input VGDevice
Implements VGFont.
◆ GetName()
virtual const char* SVGFont::GetName |
( |
| ) |
const |
|
inlinevirtual |
Returns the current object's name (as a string)
Implements VGFont.
◆ GetProperties()
virtual int SVGFont::GetProperties |
( |
| ) |
const |
|
inlinevirtual |
Returns the current object's property value(s) (see enum above)
Implements VGFont.
◆ GetSize()
virtual int SVGFont::GetSize |
( |
| ) |
const |
|
inlinevirtual |
Returns the current object's size (as an int)
Implements VGFont.