Logo Search packages:      
Sourcecode: pango-graphite version File versions  Download package

gr::XftGrFont Class Reference

#include <XftGrFont.h>

List of all members.

Detailed Description

An implementation of the Graphite gr::Font class for Xft fonts for use on systems using X. Freetype is used to retrieve font information. If you are using Freetype directly, without Xft, you can pass in a FT_Face directly.

Definition at line 46 of file XftGrFont.h.

Public Member Functions

virtual float ascent ()
virtual bool bold ()
virtual Font * copyThis ()
virtual float descent ()
virtual unsigned int getDPIx ()
virtual unsigned int getDPIy ()
virtual void getFontMetrics (float *pAscent=NULL, float *pDescent=NULL, float *pEmSquare=NULL)
virtual void getGlyphMetrics (gid16 glyphID, gr::Rect &boundingBox, gr::Point &advances)
virtual void getGlyphPoint (gid16 gid, unsigned int pointNum, gr::Point &xyReturn)
virtual const void * getTable (fontTableId32 tableID, size_t *pcbSize)
virtual float height ()
virtual bool italic ()
virtual FT_Face lockFace (void)
virtual void setDPIx (unsigned int dpi)
virtual void setDPIy (unsigned int dpi)
virtual void unlockFace (void)
 XftGrFont (XftGrFont &font)
 XftGrFont (FT_Face ftFace, Display *disp=NULL, Screen *scrn=NULL)
 XftGrFont (XftFont *xftFont, Display *disp=NULL, Screen *scrn=NULL)
virtual ~XftGrFont ()

Static Public Member Functions

static bool FontHasGraphiteTables (FT_Face face)
static bool FontHasGraphiteTables (XftFont *xftFont)

Protected Member Functions

void initializeDPI (Display *disp, Screen *scrn)
void initializeFromFace (void)
 XftGrFont (Display *disp=NULL, Screen *scrn=NULL)

Protected Attributes

float m_ascent
unsigned long m_clrBack
unsigned long m_clrFore
float m_descent
int m_dpiX
int m_dpiY
float m_emSquare
std::wstring m_faceName
bool m_fBold
bool m_fItalic
FT_Face m_ftFace
GlyphMetricHash m_glyphMetricHash
XftFont * m_hfont
bool m_locked
float m_pixHeight
FontTableCache * m_pTableCache

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

Generated by  Doxygen 1.6.0   Back to index