vdk 2.4.0
|
Provides a raw font. More...
#include <vdkfont.h>
Provides a raw font.
VDKFont::VDKFont | ( | char * | fname | ) |
Constructor
fname | font name |
VDKFont::VDKFont | ( | VDKObject * | obj, |
char * | name | ||
) |
Constructor
obj | owner object |
fname | font name |
VDKFont::~VDKFont | ( | ) | [virtual] |
Destructor
GdkFont * VDKFont::AsGdkFont | ( | ) |
GdkFont* conversion, user should gdk_font_unref() after use
PangoFontDescription * VDKFont::AsPangoFontDescription | ( | ) |
Returns pango font description
int VDKFont::FontId | ( | ) |
Return font id (not more used)
int VDKFont::Height | ( | const char * | s | ) |
Return font height, 0 on failure
VDKFont::operator char * | ( | ) |
Return font name
VDKFont::operator GdkFont * | ( | ) |
GdkFont* conversion, user should gdk_font_unref() after use
bool VDKFont::operator== | ( | VDKFont & | f | ) |
Equality operator
int VDKFont::Width | ( | const char * | s | ) |
Return font width, 0 on failure