Index: include/utils/SkLuaCanvas.h |
diff --git a/include/utils/SkLuaCanvas.h b/include/utils/SkLuaCanvas.h |
index c34d1344236d973b3d1568b38e1bc459a6d45425..b604d3c92c4544c8bb7f859bb40904b847ecd6c0 100644 |
--- a/include/utils/SkLuaCanvas.h |
+++ b/include/utils/SkLuaCanvas.h |
@@ -42,9 +42,7 @@ 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) SK_OVERRIDE; |
virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
@@ -72,6 +70,10 @@ public: |
const SkPaint& paint) SK_OVERRIDE; |
virtual void drawData(const void* data, size_t length) 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: |
lua_State* fL; |
SkString fFunc; |