#include <gfxFont.h>
List of all members.
Public Member Functions |
| | gfxFontStyle () |
| | gfxFontStyle (PRUint8 aStyle, PRUint16 aWeight, PRInt16 aStretch, gfxFloat aSize, nsIAtom *aLanguage, float aSizeAdjust, PRPackedBool aSystemFont, PRPackedBool aFamilyNameQuirks, PRPackedBool aPrinterFont, const nsString_external &aFeatureSettings, const nsString_external &aLanguageOverride) |
| | gfxFontStyle (const gfxFontStyle &aStyle) |
| gfxFloat | GetAdjustedSize (gfxFloat aspect) const |
| PLDHashNumber | Hash () const |
| PRInt8 | ComputeWeight () const |
| PRBool | Equals (const gfxFontStyle &other) const |
Static Public Member Functions |
| static void | ParseFontFeatureSettings (const nsString_external &aFeatureString, nsTArray< gfxFontFeature > &aFeatures) |
| static PRUint32 | ParseFontLanguageOverride (const nsString_external &aLangTag) |
Public Attributes |
| PRUint8 | style: 7 |
| PRPackedBool | systemFont: 1 |
| PRPackedBool | printerFont: 1 |
| PRPackedBool | familyNameQuirks: 1 |
| PRUint16 | weight |
| PRInt16 | stretch |
| gfxFloat | size |
| float | sizeAdjust |
| nsRefPtr< nsIAtom > | language |
| PRUint32 | languageOverride |
| nsTArray< gfxFontFeature > | featureSettings |
Constructor & Destructor Documentation
| gfxFontStyle::gfxFontStyle |
( |
|
) |
|
| gfxFontStyle::gfxFontStyle |
( |
PRUint8 |
aStyle, |
|
|
PRUint16 |
aWeight, |
|
|
PRInt16 |
aStretch, |
|
|
gfxFloat |
aSize, |
|
|
nsIAtom * |
aLanguage, |
|
|
float |
aSizeAdjust, |
|
|
PRPackedBool |
aSystemFont, |
|
|
PRPackedBool |
aFamilyNameQuirks, |
|
|
PRPackedBool |
aPrinterFont, |
|
|
const nsString_external & |
aFeatureSettings, |
|
|
const nsString_external & |
aLanguageOverride | |
|
) |
| | |
Member Function Documentation
| PRInt8 gfxFontStyle::ComputeWeight |
( |
|
) |
const |
| static PRUint32 gfxFontStyle::ParseFontLanguageOverride |
( |
const nsString_external & |
aLangTag |
) |
[static] |
Member Data Documentation
The documentation for this struct was generated from the following file: