Logo Search packages:      
Sourcecode: pcmanx-gtk2 version File versions  Download package

CFont Class Reference

#include <font.h>

List of all members.


Detailed Description

Author:
PCMan

Definition at line 34 of file font.h.


Public Member Functions

 CFont (string name, int width, int height, bool compact=false, bool anti_alias=true)
 CFont (string name, int pt_size, bool compact=false, bool anti_alias=true)
 CFont ()
bool GetAntiAlias ()
bool GetCompact ()
int GetHeight ()
string GetName ()
int GetWidth ()
XftFont * GetXftFont ()
void SetFont (string name, int width, int height, bool compact=false, bool anti_alias=true)
void SetFont (string name, int pt_size, bool compact=false, bool anti_alias=true)
void SetFontFamily (string name)

Protected Attributes

bool m_AntiAlias
bool m_Compact
int m_MaxHeight
int m_MaxWidth
string m_Name
int m_PointSize
XftFont * m_XftFont

Private Member Functions

void CloseXftFont (XftFont *font)
XftFont * CreateXftFont (string name, int width, int heigh, bool anti_alias)
XftFont * CreateXftFont (string name, int size, bool anti_alias)
void RecalculateMetrics (XftFont *font)

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

Generated by  Doxygen 1.6.0   Back to index