#include <vdkfont.h>
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
int VDKFont::Height | ( | const char * | s | ) |
Return font height, 0 on failure
int VDKFont::Width | ( | const char * | s | ) |
Return font width, 0 on failure
bool VDKFont::operator== | ( | VDKFont & | f | ) |
Equality operator
VDKFont::operator char * | ( | ) |
Return font name
VDKFont::operator GdkFont * | ( | ) |
GdkFont* conversion, user should gdk_font_unref() after use
GdkFont * VDKFont::AsGdkFont | ( | ) |
GdkFont* conversion, user should gdk_font_unref() after use
int VDKFont::FontId | ( | ) |
Return font id (not more used)
PangoFontDescription * VDKFont::AsPangoFontDescription | ( | ) |
Returns pango font description