aboutsummaryrefslogtreecommitdiffstats
path: root/include/core/SkPaint.h
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2009-05-01 09:32:23 -0400
committerMike Reed <reed@google.com>2009-05-01 14:07:59 -0400
commiteba9f316916f3381d6a5dd5c1300fea6ec6da8dc (patch)
treec4734e82435139f3234d4ca51a84daba9b4a8c39 /include/core/SkPaint.h
parentcd9f913643f6d8fb1a8bdc45b275f0544ea81a08 (diff)
downloadexternal_skia-eba9f316916f3381d6a5dd5c1300fea6ec6da8dc.zip
external_skia-eba9f316916f3381d6a5dd5c1300fea6ec6da8dc.tar.gz
external_skia-eba9f316916f3381d6a5dd5c1300fea6ec6da8dc.tar.bz2
refresh from skia/trunk
- catch overflow from mask size computation - add kADD_Mode to porterduff (for webkit) - support interlace images in png
Diffstat (limited to 'include/core/SkPaint.h')
-rw-r--r--include/core/SkPaint.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index fd35292..dd3aa13 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -623,6 +623,10 @@ public:
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
};
/** Return the recommend spacing between lines (which will be