Index: src/core/SkPictureRecord.h |
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h |
index d0c099e0408f7702c5065f0dc87b601c5b24824c..8fd40bc230d014f1af6cc56f9be7b2603d54343b 100644 |
--- a/src/core/SkPictureRecord.h |
+++ b/src/core/SkPictureRecord.h |
@@ -58,7 +58,6 @@ public: |
const SkColor colors[], SkXfermode*, |
const uint16_t indices[], int indexCount, |
const SkPaint&) SK_OVERRIDE; |
- virtual void drawPatch(const SkPatch& patch, const SkPaint& paint) SK_OVERRIDE; |
virtual void drawData(const void*, size_t) SK_OVERRIDE; |
virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
@@ -170,7 +169,7 @@ private: |
const SkFlatData* addPaint(const SkPaint& paint) { return this->addPaintPtr(&paint); } |
const SkFlatData* addPaintPtr(const SkPaint* paint); |
void addFlatPaint(const SkFlatData* flatPaint); |
- void addPatch(const SkPatch& patch); |
+ void addPatch(const SkPoint cubics[12]); |
void addPath(const SkPath& path); |
void addPicture(const SkPicture* picture); |
void addPoint(const SkPoint& point); |
@@ -214,6 +213,10 @@ protected: |
SkScalar constY, const SkPaint&) SK_OVERRIDE; |
virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, |
const SkMatrix* matrix, const SkPaint&) SK_OVERRIDE; |
+ |
+ virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
+ const SkPoint texCoords[4], SkXfermode* xmode, |
+ const SkPaint& paint) SK_OVERRIDE; |
virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |
virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |