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

gr::PangoGrFont Class Reference

#include <PangoGrFont.h>

Inheritance diagram for gr::PangoGrFont:


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 40 of file PangoGrFont.h.

Public Member Functions

virtual float ascent ()
virtual bool bold ()
virtual gr::Font * copyThis ()
virtual float descent ()
const char * facename ()
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)
bool operator!= (PangoGrFont &font)
 PangoGrFont (PangoGrFont &font)
 PangoGrFont (PangoFcFont *l_pFont)
virtual bool setBold (bool fbold)
virtual bool setItalic (bool fitalic)
virtual void unlockFace (void)
virtual ~PangoGrFont ()

Static Public Member Functions

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

Protected Member Functions

FT_Face getFace ()
FT_Int32 glyphLoadFlags () const throw ()
void setDPIx (unsigned int dpi)
void setDPIy (unsigned int dpi)
FT_Face setFace (FT_Face)
void setGlyphLoadFlags (FT_Int32 load_flags) throw ()
virtual void UniqueCacheInfo (std::wstring &, bool &, bool &)

Private Member Functions

 PangoGrFont ()

Private Attributes

long m_cref
PangoFcFont * m_fcFont
bool m_locked
char m_stFace [kMaxFaceLength]

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

Generated by  Doxygen 1.6.0   Back to index