Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs
nsAntiAliasedGlyph.h File Reference
#include "gfx-config.h"
#include "nscore.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GlyphMetrics
class  nsAntiAliasedGlyph

Defines

#define MIN(a, b)   (((a) <= (b)) ? (a) : (b))
#define MAX(a, b)   (((a) >= (b)) ? (a) : (b))
#define GLYPH_LEFT_EDGE(m)   MIN(0, (m)->lbearing)
#define GLYPH_RIGHT_EDGE(m)   MAX((m)->width, (m)->rbearing)

Typedefs

typedef struct _GlyphMetrics GlyphMetrics

Class Documentation

struct _GlyphMetrics

Definition at line 25 of file nsAntiAliasedGlyph.h.

Class Members
PRInt32 advance
PRInt32 ascent
PRInt32 descent
PRUint32 height
PRInt32 lbearing
PRInt32 rbearing
PRUint32 width

Define Documentation

#define GLYPH_LEFT_EDGE (   m)    MIN(0, (m)->lbearing)

Definition at line 22 of file nsAntiAliasedGlyph.h.

#define GLYPH_RIGHT_EDGE (   m)    MAX((m)->width, (m)->rbearing)

Definition at line 23 of file nsAntiAliasedGlyph.h.

#define MAX (   a,
  b 
)    (((a) >= (b)) ? (a) : (b))

Definition at line 19 of file nsAntiAliasedGlyph.h.

#define MIN (   a,
  b 
)    (((a) <= (b)) ? (a) : (b))

Definition at line 16 of file nsAntiAliasedGlyph.h.


Typedef Documentation

typedef struct _GlyphMetrics GlyphMetrics