commit | fc899274d96cdc7d4302f48fbcf61e3376288bc0 | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Jul 01 22:10:30 2011 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Jul 01 22:10:30 2011 +0000 |
tree | ec4178f148078262e8ac19a7c62eddeb0111ef0b | |
parent | 9ef2d8382f5238cc54d211e3cc228def7a93b133 [diff] |
Offset bounds in GrDefaultPathRenderer by fTranslate. Review URL: http://codereview.appspot.com/4667053/ git-svn-id: http://skia.googlecode.com/svn/trunk@1787 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrPathRenderer.cpp b/gpu/src/GrPathRenderer.cpp index 61670da..e82774d 100644 --- a/gpu/src/GrPathRenderer.cpp +++ b/gpu/src/GrPathRenderer.cpp
@@ -473,6 +473,7 @@ } } else { bounds = fPath->getBounds(); + bounds.offset(fTranslate); } GrDrawTarget::AutoGeometryPush agp(fTarget); fTarget->drawSimpleRect(bounds, NULL, stages);