vdk 2.4.0
Public Member Functions | List of all members
VDKFont Class Reference

Provides a raw font. More...

#include <vdkfont.h>

Inheritance diagram for VDKFont:
VDKRawObject

Public Member Functions

 VDKFont (char *fname)
 
 VDKFont (VDKObject *obj, char *name)
 
virtual ~VDKFont ()
 
int Height (const char *s)
 
int Width (const char *s)
 
bool operator== (VDKFont &f)
 
 operator char * ()
 
 operator GdkFont * ()
 
GdkFont * AsGdkFont ()
 
int FontId ()
 
PangoFontDescription * AsPangoFontDescription ()
 
- Public Member Functions inherited from VDKRawObject
bool Destroy ()
 

Detailed Description

Provides a raw font.

Constructor & Destructor Documentation

VDKFont::VDKFont ( char *  fname)

Constructor

Parameters
fnamefont name
VDKFont::VDKFont ( VDKObject obj,
char *  name 
)

Constructor

Parameters
objowner object
fnamefont name
VDKFont::~VDKFont ( )
virtual

Destructor

Member Function Documentation

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


The documentation for this class was generated from the following files: