Public Member Functions | Protected Attributes

gfxFT2FontBase Class Reference

#include <gfxFT2FontBase.h>

Inheritance diagram for gfxFT2FontBase:
Collaboration diagram for gfxFT2FontBase:

List of all members.

Public Member Functions

 gfxFT2FontBase (cairo_scaled_font_t *aScaledFont, gfxFontEntry *aFontEntry, const gfxFontStyle *aFontStyle)
virtual ~gfxFT2FontBase ()
PRUint32 GetGlyph (PRUint32 aCharCode)
void GetGlyphExtents (PRUint32 aGlyph, cairo_text_extents_t *aExtents)
virtual const gfxFont::MetricsGetMetrics ()
virtual nsString_external GetUniqueName ()
virtual PRUint32 GetSpaceGlyph ()
virtual hb_blob_tGetFontTable (PRUint32 aTag)
virtual PRBool ProvidesGetGlyph () const
virtual PRUint32 GetGlyph (PRUint32 unicode, PRUint32 variation_selector)
virtual PRBool ProvidesGlyphWidths ()
virtual PRInt32 GetGlyphWidth (gfxContext *aCtx, PRUint16 aGID)
cairo_scaled_font_tCairoScaledFont ()
virtual PRBool SetupCairoFont (gfxContext *aContext)

Protected Attributes

PRUint32 mSpaceGlyph
PRBool mHasMetrics
Metrics mMetrics

Constructor & Destructor Documentation

gfxFT2FontBase::gfxFT2FontBase ( cairo_scaled_font_t aScaledFont,
gfxFontEntry aFontEntry,
const gfxFontStyle aFontStyle 
virtual gfxFT2FontBase::~gfxFT2FontBase (  )  [virtual]

Member Function Documentation

cairo_scaled_font_t* gfxFT2FontBase::CairoScaledFont (  )  [inline]
virtual hb_blob_t* gfxFT2FontBase::GetFontTable ( PRUint32  aTag  )  [virtual]

Reimplemented from gfxFont.

virtual PRUint32 gfxFT2FontBase::GetGlyph ( PRUint32  unicode,
PRUint32  variation_selector 
) [virtual]

Reimplemented from gfxFont.

PRUint32 gfxFT2FontBase::GetGlyph ( PRUint32  aCharCode  ) 
void gfxFT2FontBase::GetGlyphExtents ( PRUint32  aGlyph,
cairo_text_extents_t aExtents 
virtual PRInt32 gfxFT2FontBase::GetGlyphWidth ( gfxContext aCtx,
PRUint16  aGID 
) [virtual]

Reimplemented from gfxFont.

virtual const gfxFont::Metrics& gfxFT2FontBase::GetMetrics (  )  [virtual]

Implements gfxFont.

virtual PRUint32 gfxFT2FontBase::GetSpaceGlyph (  )  [virtual]

Implements gfxFont.

virtual nsString_external gfxFT2FontBase::GetUniqueName (  )  [virtual]

Reimplemented from gfxFont.

virtual PRBool gfxFT2FontBase::ProvidesGetGlyph (  )  const [inline, virtual]

Reimplemented from gfxFont.

virtual PRBool gfxFT2FontBase::ProvidesGlyphWidths (  )  [inline, virtual]

Reimplemented from gfxFont.

virtual PRBool gfxFT2FontBase::SetupCairoFont ( gfxContext aContext  )  [virtual]

Implements gfxFont.

Member Data Documentation

Metrics gfxFT2FontBase::mMetrics [protected]
PRUint32 gfxFT2FontBase::mSpaceGlyph [protected]

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