aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathRenderer.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-08 14:48:36 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-08 14:48:36 +0000
commit0f11e1ab5b6e53f6176dde2dbb25a8e3ae34858f (patch)
treee1ede971e62f13815c6afa4f7e233b29cabe69e7 /src/gpu/GrPathRenderer.h
parenta5b7cc00b9e95c4c6c02b5bd26aba5e6401f7fd7 (diff)
Remove translate param from GrContext::drawPath (and subsequent calls).
Review URL: https://codereview.appspot.com/6615062 git-svn-id: http://skia.googlecode.com/svn/trunk@5852 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrPathRenderer.h')
-rw-r--r--src/gpu/GrPathRenderer.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gpu/GrPathRenderer.h b/src/gpu/GrPathRenderer.h
index 5cbaab1693..fc3d67289a 100644
--- a/src/gpu/GrPathRenderer.h
+++ b/src/gpu/GrPathRenderer.h
@@ -97,18 +97,15 @@ public:
*
* @param path the path to draw.
* @param fill the path filling rule to use.
- * @param translate optional additional translation applied to
- * the path (can be NULL)
* @param target target that the path will be rendered to
* @param antiAlias true if anti-aliasing is required.
*/
virtual bool drawPath(const SkPath& path,
GrPathFill fill,
- const GrVec* translate,
GrDrawTarget* target,
bool antiAlias) {
GrAssert(this->canDrawPath(path, fill, target, antiAlias));
- return this->onDrawPath(path, fill, translate, target, antiAlias);
+ return this->onDrawPath(path, fill, target, antiAlias);
}
/**
@@ -135,14 +132,11 @@ protected:
*
* @param path the path to draw.
* @param fill the path filling rule to use.
- * @param translate optional additional translation applied to
- * the path
* @param target target that the path will be rendered to
* @param antiAlias whether antialiasing is enabled or not.
*/
virtual bool onDrawPath(const SkPath& path,
GrPathFill fill,
- const GrVec* translate,
GrDrawTarget* target,
bool antiAlias) = 0;