diff options
author | reed <reed@google.com> | 2014-08-12 05:50:10 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-12 05:50:10 -0700 |
commit | 5b1b2dbe761b9c100161635878d7538dae65daf8 (patch) | |
tree | 017589f8b5c6e0b3d3cd41c566829775301841e8 /include/effects | |
parent | 80a83adaf2f8db849bfae288e31b7c789dafabf5 (diff) |
remove SkStippleMaskFilter - no external clients
TBR=
Author: reed@google.com
Review URL: https://codereview.chromium.org/462013002
Diffstat (limited to 'include/effects')
-rw-r--r-- | include/effects/SkStippleMaskFilter.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/include/effects/SkStippleMaskFilter.h b/include/effects/SkStippleMaskFilter.h deleted file mode 100644 index 30263a3689..0000000000 --- a/include/effects/SkStippleMaskFilter.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2012 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#ifndef SkStippleMaskFilter_DEFINED -#define SkStippleMaskFilter_DEFINED - -#include "SkMaskFilter.h" - -/** - * Simple MaskFilter that creates a screen door stipple pattern. - */ -class SK_API SkStippleMaskFilter : public SkMaskFilter { -public: - static SkStippleMaskFilter* Create() { - return SkNEW(SkStippleMaskFilter); - } - - virtual bool filterMask(SkMask* dst, const SkMask& src, - const SkMatrix& matrix, - SkIPoint* margin) const SK_OVERRIDE; - - // getFormat is from SkMaskFilter - virtual SkMask::Format getFormat() const SK_OVERRIDE { - return SkMask::kA8_Format; - } - - SK_TO_STRING_OVERRIDE() - SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkStippleMaskFilter); - -protected: - SkStippleMaskFilter() : INHERITED() { - } - explicit SkStippleMaskFilter(SkReadBuffer& buffer) - : SkMaskFilter(buffer) { - } - -private: - typedef SkMaskFilter INHERITED; -}; - -#endif // SkStippleMaskFilter_DEFINED |