diff options
author | Mike Reed <reed@google.com> | 2009-08-14 13:11:13 -0400 |
---|---|---|
committer | Mike Reed <reed@google.com> | 2009-08-14 13:11:13 -0400 |
commit | 17d1e95f527382203087356175890dab480ed3ba (patch) | |
tree | 6bd2c27042adeefcc2d1693dabe0e672f2b6be90 /include | |
parent | c1c43a17e7f2a87951739691056728a80e9aef6b (diff) | |
download | external_skia-17d1e95f527382203087356175890dab480ed3ba.zip external_skia-17d1e95f527382203087356175890dab480ed3ba.tar.gz external_skia-17d1e95f527382203087356175890dab480ed3ba.tar.bz2 |
fix type that send affine matrix procs to the perspective case (much slower)
Diffstat (limited to 'include')
-rw-r--r-- | include/views/SkView.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/views/SkView.h b/include/views/SkView.h index d5d89df..050deba 100644 --- a/include/views/SkView.h +++ b/include/views/SkView.h @@ -296,8 +296,16 @@ protected: request, return true so the request will not continue to propogate to the parent. */ virtual bool handleInval(const SkRect&); + //! called once before all of the children are drawn (or clipped/translated) virtual SkCanvas* beforeChildren(SkCanvas* c) { return c; } + //! called once after all of the children are drawn (or clipped/translated) virtual void afterChildren(SkCanvas* orig) {} + + //! called right before this child's onDraw is called + virtual void beforeChild(SkView* child, SkCanvas* canvas) {} + //! called right after this child's onDraw is called + virtual void afterChild(SkView* child, SkCanvas* canvas) {} + /** Override this if you might handle the click */ virtual Click* onFindClickHandler(SkScalar x, SkScalar y); |