diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-26 20:26:54 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-26 20:26:54 +0000 |
commit | 971aca75572ed6e0c5e1cc959173dc58ca7b6b8d (patch) | |
tree | ee8ee93c54512b7815268442bd8faa301b274cbf /include/effects | |
parent | db3f0fda6899b11e3213c1213165f2d22ad0fb83 (diff) |
change SkDrawFilter::filter to return a bool, where false means don't-draw
Review URL: https://codereview.appspot.com/6851111
git-svn-id: http://skia.googlecode.com/svn/trunk@6551 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/effects')
-rw-r--r-- | include/effects/SkPaintFlagsDrawFilter.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/effects/SkPaintFlagsDrawFilter.h b/include/effects/SkPaintFlagsDrawFilter.h index fbf1807708..cb2a8b7e95 100644 --- a/include/effects/SkPaintFlagsDrawFilter.h +++ b/include/effects/SkPaintFlagsDrawFilter.h @@ -14,8 +14,7 @@ class SK_API SkPaintFlagsDrawFilter : public SkDrawFilter { public: SkPaintFlagsDrawFilter(uint32_t clearFlags, uint32_t setFlags); - // overrides - virtual void filter(SkPaint*, Type); + virtual bool filter(SkPaint*, Type) SK_OVERRIDE; private: uint16_t fClearFlags; // user specified |