diff options
Diffstat (limited to 'include/utils/SkProxyCanvas.h')
-rw-r--r-- | include/utils/SkProxyCanvas.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/utils/SkProxyCanvas.h b/include/utils/SkProxyCanvas.h index 54cdc3b2b0..383e532fbf 100644 --- a/include/utils/SkProxyCanvas.h +++ b/include/utils/SkProxyCanvas.h @@ -48,7 +48,9 @@ public: virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], const SkPaint& paint) SK_OVERRIDE; virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; + virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; + virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, const SkPaint* paint = NULL) SK_OVERRIDE; virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, @@ -83,10 +85,6 @@ public: virtual SkBounder* setBounder(SkBounder* bounder) SK_OVERRIDE; virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; -protected: - virtual void onDrawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; - virtual void onDrawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; - private: SkCanvas* fProxy; |