Index: include/core/SkDraw.h |
diff --git a/include/core/SkDraw.h b/include/core/SkDraw.h |
index 918f2335ea0ef60d776d6acdc3f6a79fd616cc9a..21d421004ac340fd5497a6f6e03cea0166613cdc 100644 |
--- a/include/core/SkDraw.h |
+++ b/include/core/SkDraw.h |
@@ -17,6 +17,7 @@ |
class SkBitmap; |
class SkClipStack; |
class SkBaseDevice; |
+class SkBlitter; |
class SkMatrix; |
class SkPath; |
class SkRegion; |
@@ -49,8 +50,9 @@ public: |
this->drawPath(path, paint, prePathMatrix, pathIsMutable, false); |
} |
- void drawPath(const SkPath& path, const SkPaint& paint) const { |
- this->drawPath(path, paint, NULL, false, false); |
+ void drawPath(const SkPath& path, const SkPaint& paint, |
+ SkBlitter* customBlitter = NULL) const { |
+ this->drawPath(path, paint, NULL, false, false, customBlitter); |
} |
void drawBitmap(const SkBitmap&, const SkMatrix&, const SkPaint&) const; |
@@ -74,8 +76,9 @@ public: |
* |
* Only device A8 is supported right now. |
*/ |
- void drawPathCoverage(const SkPath& src, const SkPaint& paint) const { |
- this->drawPath(src, paint, NULL, false, true); |
+ void drawPathCoverage(const SkPath& src, const SkPaint& paint, |
+ SkBlitter* customBlitter = NULL) const { |
+ this->drawPath(src, paint, NULL, false, true, customBlitter); |
} |
/** Helper function that creates a mask from a path and an optional maskfilter. |
@@ -118,7 +121,8 @@ private: |
void drawBitmapAsMask(const SkBitmap&, const SkPaint&) const; |
void drawPath(const SkPath&, const SkPaint&, const SkMatrix* preMatrix, |
- bool pathIsMutable, bool drawCoverage) const; |
+ bool pathIsMutable, bool drawCoverage, |
+ SkBlitter* customBlitter = NULL) const; |
/** |
* Return the current clip bounds, in local coordinates, with slop to account |