aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
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
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')
-rw-r--r--include/core/SkPath.h5
-rw-r--r--include/views/SkView.h3
2 files changed, 3 insertions, 5 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index 6d4d670c4a..ecdfd1ab41 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -547,11 +547,8 @@ public:
Verb autoClose(SkPoint pts[2]);
};
-#ifdef SK_DEBUG
- /** @cond UNIT_TEST */
void dump(bool forceClose, const char title[] = NULL) const;
- /** @endcond */
-#endif
+ void dump() const;
void flatten(SkFlattenableWriteBuffer&) const;
void unflatten(SkFlattenableReadBuffer&);
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.