Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Variables
nsFont.h File Reference
#include "gfxCore.h"
#include "nsCoord.h"
#include "nsString.h"

Go to the source code of this file.

Classes

protocol  NS_GFX
 Class nsPrintOptions. More...

Defines

#define NS_FONT_STYLE_NORMAL   0
#define NS_FONT_STYLE_ITALIC   1
#define NS_FONT_STYLE_OBLIQUE   2
#define NS_FONT_VARIANT_NORMAL   0
#define NS_FONT_VARIANT_SMALL_CAPS   1
#define NS_FONT_DECORATION_NONE   0x0
#define NS_FONT_DECORATION_UNDERLINE   0x1
#define NS_FONT_DECORATION_OVERLINE   0x2
#define NS_FONT_DECORATION_LINE_THROUGH   0x4
#define NS_FONT_WEIGHT_NORMAL   400
#define NS_FONT_WEIGHT_BOLD   700

Typedefs

typedef PRBool(* nsFontFamilyEnumFunc )(const nsString &aFamily, PRBool aGeneric, void *aData)

Variables

const PRUint8 kGenericFont_NONE = 0x00
const PRUint8 kGenericFont_moz_variable = 0x00
const PRUint8 kGenericFont_moz_fixed = 0x01
const PRUint8 kGenericFont_serif = 0x02
const PRUint8 kGenericFont_sans_serif = 0x04
const PRUint8 kGenericFont_monospace = 0x08
const PRUint8 kGenericFont_cursive = 0x10
const PRUint8 kGenericFont_fantasy = 0x20

Define Documentation

Definition at line 145 of file nsFont.h.

Definition at line 142 of file nsFont.h.

Definition at line 144 of file nsFont.h.

Definition at line 143 of file nsFont.h.

Definition at line 136 of file nsFont.h.

Definition at line 135 of file nsFont.h.

Definition at line 137 of file nsFont.h.

Definition at line 139 of file nsFont.h.

Definition at line 140 of file nsFont.h.

Definition at line 148 of file nsFont.h.

Definition at line 147 of file nsFont.h.


Typedef Documentation

typedef PRBool(* nsFontFamilyEnumFunc)(const nsString &aFamily, PRBool aGeneric, void *aData)

Definition at line 49 of file nsFont.h.


Variable Documentation

Definition at line 62 of file nsFont.h.

Definition at line 63 of file nsFont.h.

Definition at line 61 of file nsFont.h.

Definition at line 57 of file nsFont.h.

Definition at line 56 of file nsFont.h.

Definition at line 54 of file nsFont.h.

Definition at line 60 of file nsFont.h.

Definition at line 59 of file nsFont.h.