diff options
author | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-20 14:24:38 +0000 |
---|---|---|
committer | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-20 14:24:38 +0000 |
commit | 166e653f67f3fffc3846184a25ce45ab083f07a2 (patch) | |
tree | 1888ff8d2ec6bb24dd5ee216d96c7a8996be8b46 /include/core/SkDraw.h | |
parent | 7c3578ac7a3bbec220e9ad7e03dead5f3341ccfb (diff) |
Fix scaling issue when drawing text on a path.
If the paint is stroked and the font size is small
we were incorrectly rendering the sample text.
Review URL: https://codereview.appspot.com/5844060
git-svn-id: http://skia.googlecode.com/svn/trunk@3437 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkDraw.h')
-rw-r--r-- | include/core/SkDraw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkDraw.h b/include/core/SkDraw.h index 8c659c2389..0ec37b3092 100644 --- a/include/core/SkDraw.h +++ b/include/core/SkDraw.h @@ -128,8 +128,8 @@ class SkGlyphCache; class SkTextToPathIter { public: - SkTextToPathIter(const char text[], size_t length, const SkPaint&, - bool applyStrokeAndPathEffects, bool forceLinearTextOn); + SkTextToPathIter(const char text[], size_t length, const SkPaint& paint, + bool applyStrokeAndPathEffects); ~SkTextToPathIter(); const SkPaint& getPaint() const { return fPaint; } |