diff options
author | Derek Sollenberger <djsollen@google.com> | 2011-02-24 11:04:57 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2011-02-24 13:10:51 -0500 |
commit | 71531ca1f484da5837be8017a0c83e5bff701587 (patch) | |
tree | 36512f8dbc615cd9e80b20eff47c0400eb1aa52b /src/effects/SkBlurMask.h | |
parent | 7157c81e3a5c916ab44a02273b140e1cd8a6d1bb (diff) | |
download | external_skia-71531ca1f484da5837be8017a0c83e5bff701587.zip external_skia-71531ca1f484da5837be8017a0c83e5bff701587.tar.gz external_skia-71531ca1f484da5837be8017a0c83e5bff701587.tar.bz2 |
Skia Merge (revision 842)
This merge picks up the fixed width font updates and improved
blur code from the Skia repository.
Change-Id: Iad2301a353c31da27ca214527cf4ed8f24641749
Diffstat (limited to 'src/effects/SkBlurMask.h')
-rw-r--r-- | src/effects/SkBlurMask.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/effects/SkBlurMask.h b/src/effects/SkBlurMask.h index 8f61d54..560ef48 100644 --- a/src/effects/SkBlurMask.h +++ b/src/effects/SkBlurMask.h @@ -31,7 +31,12 @@ public: kStyleCount }; - static bool Blur(SkMask* dst, const SkMask& src, SkScalar radius, Style); + enum Quality { + kLow_Quality, //!< box blur + kHigh_Quality //!< three pass box blur (similar to gaussian) + }; + + static bool Blur(SkMask* dst, const SkMask& src, SkScalar radius, Style, Quality quality); }; #endif |