aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-11-23 20:10:41 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-11-23 20:10:41 +0000
commite522ca5d5f249bd51a00cb68bb051f811d0a9e85 (patch)
treef69fea7ec607bbc9cb88e1a154b5c37a3c626852 /include/views
parent90209caa686464cad70dd9d60b53c3d967eb57da (diff)
fix winding bug in lineclipper
expose path.dump() all the time UP arrow now toggles a grid of clip rects in sample app git-svn-id: http://skia.googlecode.com/svn/trunk@443 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/views')
-rw-r--r--include/views/SkView.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/views/SkView.h b/include/views/SkView.h
index f3b729f443..fc36d34fca 100644
--- a/include/views/SkView.h
+++ b/include/views/SkView.h
@@ -96,7 +96,8 @@ public:
void offset(SkScalar dx, SkScalar dy);
/** Call this to have the view draw into the specified canvas. */
- void draw(SkCanvas* canvas);
+ virtual void draw(SkCanvas* canvas);
+
/** Call this to invalidate part of all of a view, requesting that the view's
draw method be called. The rectangle parameter specifies the part of the view
that should be redrawn. If it is null, it specifies the entire view bounds.