diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 22:58:26 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 22:58:26 +0000 |
commit | 3701009cea1762df31f8108ca182ded30333a303 (patch) | |
tree | ec9a42cec30666ec67d903f807c1f45c43a215b3 /skia/include | |
parent | 98d9e2d62e8313915dc112d10899c2dc48e4845c (diff) | |
download | chromium_src-3701009cea1762df31f8108ca182ded30333a303.zip chromium_src-3701009cea1762df31f8108ca182ded30333a303.tar.gz chromium_src-3701009cea1762df31f8108ca182ded30333a303.tar.bz2 |
Skia: remove fHeight
Skia was previously calculating the leading value incorrectly, leading
us to add fHeight to get the height of a line of text. Now that Skia
is calculating fLeading correctly, we can remove fHeight.
http://codereview.chromium.org/62123
https://bugs.webkit.org/show_bug.cgi?id=25083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13299 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/include')
-rw-r--r-- | skia/include/SkPaint.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/skia/include/SkPaint.h b/skia/include/SkPaint.h index b871bda..d13d090 100644 --- a/skia/include/SkPaint.h +++ b/skia/include/SkPaint.h @@ -616,7 +616,6 @@ 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 fHeight; //!< the vertical distance between two consecutive baselines (>= 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 |