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

Side by Side Diff: include/effects/SkEmbossMaskFilter.h

Issue 197763008: Allow toString capability to be toggled independent of developer mode (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: remove gyp changes Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/effects/SkColorMatrixFilter.h ('k') | include/effects/SkKernel33MaskFilter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkEmbossMaskFilter_DEFINED 8 #ifndef SkEmbossMaskFilter_DEFINED
9 #define SkEmbossMaskFilter_DEFINED 9 #define SkEmbossMaskFilter_DEFINED
10 10
(...skipping 16 matching lines...) Expand all
27 return SkNEW_ARGS(SkEmbossMaskFilter, (blurSigma, light)); 27 return SkNEW_ARGS(SkEmbossMaskFilter, (blurSigma, light));
28 } 28 }
29 29
30 // overrides from SkMaskFilter 30 // overrides from SkMaskFilter
31 // This method is not exported to java. 31 // This method is not exported to java.
32 virtual SkMask::Format getFormat() const SK_OVERRIDE; 32 virtual SkMask::Format getFormat() const SK_OVERRIDE;
33 // This method is not exported to java. 33 // This method is not exported to java.
34 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&, 34 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&,
35 SkIPoint* margin) const SK_OVERRIDE; 35 SkIPoint* margin) const SK_OVERRIDE;
36 36
37 SkDEVCODE(virtual void toString(SkString* str) const SK_OVERRIDE;) 37 SK_TO_STRING_OVERRIDE()
38 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkEmbossMaskFilter) 38 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkEmbossMaskFilter)
39 39
40 protected: 40 protected:
41 SkEmbossMaskFilter(SkReadBuffer&); 41 SkEmbossMaskFilter(SkReadBuffer&);
42 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; 42 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE;
43 43
44 #ifdef SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS 44 #ifdef SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS
45 public: 45 public:
46 #endif 46 #endif
47 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light); 47 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
48 48
49 private: 49 private:
50 Light fLight; 50 Light fLight;
51 SkScalar fBlurSigma; 51 SkScalar fBlurSigma;
52 52
53 typedef SkMaskFilter INHERITED; 53 typedef SkMaskFilter INHERITED;
54 }; 54 };
55 55
56 #endif 56 #endif
OLDNEW
« no previous file with comments | « include/effects/SkColorMatrixFilter.h ('k') | include/effects/SkKernel33MaskFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698