SkPaint::FontMetrics Struct Reference

#include <SkPaint.h>

List of all members.

Public Attributes

SkScalar fTop
 The greatest distance above the baseline for any glyph (will be <= 0).
SkScalar fAscent
 The recommended distance above the baseline (will be <= 0).
SkScalar fDescent
 The recommended distance below the baseline (will be >= 0).
SkScalar fBottom
 The greatest distance below the baseline for any glyph (will be >= 0).
SkScalar fLeading
 The recommended distance to add between lines of text (will be >= 0).
SkScalar fAvgCharWidth
 the average charactor width (>= 0)
SkScalar fXMin
 The minimum bounding box x value for all glyphs.
SkScalar fXMax
 The maximum bounding box x value for all glyphs.
SkScalar fXHeight
 the height of an 'x' in px, or 0 if no 'x' in face

Detailed Description

Definition at line 662 of file SkPaint.h.


Member Data Documentation

The recommended distance above the baseline (will be <= 0).

Definition at line 664 of file SkPaint.h.

the average charactor width (>= 0)

Definition at line 668 of file SkPaint.h.

The greatest distance below the baseline for any glyph (will be >= 0).

Definition at line 666 of file SkPaint.h.

The recommended distance below the baseline (will be >= 0).

Definition at line 665 of file SkPaint.h.

The recommended distance to add between lines of text (will be >= 0).

Definition at line 667 of file SkPaint.h.

The greatest distance above the baseline for any glyph (will be <= 0).

Definition at line 663 of file SkPaint.h.

the height of an 'x' in px, or 0 if no 'x' in face

Definition at line 671 of file SkPaint.h.

The maximum bounding box x value for all glyphs.

Definition at line 670 of file SkPaint.h.

The minimum bounding box x value for all glyphs.

Definition at line 669 of file SkPaint.h.


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

Generated on Tue Oct 20 11:03:42 2009 for Skia by  doxygen 1.6.1