Public Member Functions | Public Attributes

gfxFontStyle Struct Reference

#include <gfxFont.h>

Collaboration diagram for gfxFontStyle:

List of all members.

Public Member Functions

 gfxFontStyle ()
 gfxFontStyle (PRUint8 aStyle, PRUint16 aWeight, PRInt16 aStretch, gfxFloat aSize, const nsACString &aLangGroup, float aSizeAdjust, PRPackedBool aSystemFont, PRPackedBool aFamilyNameQuirks, PRPackedBool aPrinterFont)
 gfxFontStyle (const gfxFontStyle &aStyle)
gfxFloat GetAdjustedSize (gfxFloat aspect) const
PLDHashNumber Hash () const
void ComputeWeightAndOffset (PRInt8 *outBaseWeight, PRInt8 *outOffset) const
PRBool Equals (const gfxFontStyle &other) const

Public Attributes

PRUint8 style: 7
PRPackedBool systemFont: 1
PRPackedBool printerFont: 1
PRPackedBool familyNameQuirks: 1
PRUint16 weight
PRInt16 stretch
gfxFloat size
nsCString_external langGroup
float sizeAdjust

Constructor & Destructor Documentation

gfxFontStyle::gfxFontStyle (  ) 
gfxFontStyle::gfxFontStyle ( PRUint8  aStyle,
PRUint16  aWeight,
PRInt16  aStretch,
gfxFloat  aSize,
const nsACString aLangGroup,
float  aSizeAdjust,
PRPackedBool  aSystemFont,
PRPackedBool  aFamilyNameQuirks,
PRPackedBool  aPrinterFont 
gfxFontStyle::gfxFontStyle ( const gfxFontStyle aStyle  ) 

Member Function Documentation

void gfxFontStyle::ComputeWeightAndOffset ( PRInt8 *  outBaseWeight,
PRInt8 *  outOffset 
) const
PRBool gfxFontStyle::Equals ( const gfxFontStyle other  )  const [inline]
gfxFloat gfxFontStyle::GetAdjustedSize ( gfxFloat  aspect  )  const [inline]
PLDHashNumber gfxFontStyle::Hash (  )  const [inline]

Member Data Documentation

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