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

Side by Side Diff: include/effects/SkBlurDrawLooper.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/SkAvoidXfermode.h ('k') | include/effects/SkColorMatrixFilter.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 2008 The Android Open Source Project 2 * Copyright 2008 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 8
9 #ifndef SkBlurDrawLooper_DEFINED 9 #ifndef SkBlurDrawLooper_DEFINED
10 #define SkBlurDrawLooper_DEFINED 10 #define SkBlurDrawLooper_DEFINED
(...skipping 29 matching lines...) Expand all
40 40
41 // SK_ATTR_DEPRECATED("use sigma version") 41 // SK_ATTR_DEPRECATED("use sigma version")
42 SkBlurDrawLooper(SkScalar radius, SkScalar dx, SkScalar dy, SkColor color, 42 SkBlurDrawLooper(SkScalar radius, SkScalar dx, SkScalar dy, SkColor color,
43 uint32_t flags = kNone_BlurFlag); 43 uint32_t flags = kNone_BlurFlag);
44 virtual ~SkBlurDrawLooper(); 44 virtual ~SkBlurDrawLooper();
45 45
46 virtual SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE; 46 virtual SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE;
47 47
48 virtual size_t contextSize() const SK_OVERRIDE { return sizeof(BlurDrawLoope rContext); } 48 virtual size_t contextSize() const SK_OVERRIDE { return sizeof(BlurDrawLoope rContext); }
49 49
50 SK_DEVELOPER_TO_STRING() 50 SK_TO_STRING_OVERRIDE()
51 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBlurDrawLooper) 51 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBlurDrawLooper)
52 52
53 protected: 53 protected:
54 SkBlurDrawLooper(SkReadBuffer&); 54 SkBlurDrawLooper(SkReadBuffer&);
55 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; 55 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE;
56 56
57 private: 57 private:
58 SkMaskFilter* fBlur; 58 SkMaskFilter* fBlur;
59 SkColorFilter* fColorFilter; 59 SkColorFilter* fColorFilter;
60 SkScalar fDx, fDy; 60 SkScalar fDx, fDy;
(...skipping 16 matching lines...) Expand all
77 const SkBlurDrawLooper* fLooper; 77 const SkBlurDrawLooper* fLooper;
78 State fState; 78 State fState;
79 }; 79 };
80 80
81 void init(SkScalar sigma, SkScalar dx, SkScalar dy, SkColor color, uint32_t flags); 81 void init(SkScalar sigma, SkScalar dx, SkScalar dy, SkColor color, uint32_t flags);
82 82
83 typedef SkDrawLooper INHERITED; 83 typedef SkDrawLooper INHERITED;
84 }; 84 };
85 85
86 #endif 86 #endif
OLDNEW
« no previous file with comments | « include/effects/SkAvoidXfermode.h ('k') | include/effects/SkColorMatrixFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698