Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: include/effects/SkStippleMaskFilter.h

Issue 462013002: remove SkStippleMaskFilter - no external clients (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/public_headers.gypi ('k') | src/effects/SkStippleMaskFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkStippleMaskFilter.h
diff --git a/include/effects/SkStippleMaskFilter.h b/include/effects/SkStippleMaskFilter.h
deleted file mode 100644
index 30263a3689488e176c80bc6e3f4f3201d05bae14..0000000000000000000000000000000000000000
--- 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
« no previous file with comments | « gyp/public_headers.gypi ('k') | src/effects/SkStippleMaskFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698