diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-24 21:03:11 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-24 21:03:11 +0000 |
commit | 4bbdeac58cc928dc66296bde3bd06e78070d96b7 (patch) | |
tree | 71033489f3f329bfc8c422c6e04e1df5b734cdb0 /src/core/SkScalerContext.cpp | |
parent | 82502e2e3966a9b0e48665f20154eaacd2a452b3 (diff) |
add optional cull-rect to patheffects, so they can do less work if their results
lie outside of the current clip-bounds (the cull rect).
Review URL: https://codereview.appspot.com/7206044
git-svn-id: http://skia.googlecode.com/svn/trunk@7378 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkScalerContext.cpp')
-rw-r--r-- | src/core/SkScalerContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp index c16fa76118..c35c0db444 100644 --- a/src/core/SkScalerContext.cpp +++ b/src/core/SkScalerContext.cpp @@ -638,7 +638,7 @@ void SkScalerContext::internalGetPath(const SkGlyph& glyph, SkPath* fillPath, if (fPathEffect) { SkPath effectPath; - if (fPathEffect->filterPath(&effectPath, localPath, &rec)) { + if (fPathEffect->filterPath(&effectPath, localPath, &rec, NULL)) { localPath.swap(effectPath); } } |