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

Side by Side Diff: src/animator/SkDrawBlur.h

Issue 253833002: move common blur types into central header (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 6 years, 7 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 | « samplecode/SampleXfermodesBlur.cpp ('k') | src/animator/SkDrawBlur.cpp » ('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 SkDrawBlur_DEFINED 8 #ifndef SkDrawBlur_DEFINED
9 #define SkDrawBlur_DEFINED 9 #define SkDrawBlur_DEFINED
10 10
11 #include "SkPaintPart.h" 11 #include "SkPaintPart.h"
12 #include "SkBlurMaskFilter.h" 12 #include "SkBlurMaskFilter.h"
13 13
14 class SkDrawBlur : public SkDrawMaskFilter { 14 class SkDrawBlur : public SkDrawMaskFilter {
15 DECLARE_DRAW_MEMBER_INFO(Blur); 15 DECLARE_DRAW_MEMBER_INFO(Blur);
16 SkDrawBlur(); 16 SkDrawBlur();
17 virtual SkMaskFilter* getMaskFilter() SK_OVERRIDE; 17 virtual SkMaskFilter* getMaskFilter() SK_OVERRIDE;
18 protected: 18 protected:
19 SkScalar fSigma; 19 SkScalar fSigma;
20 int /*SkBlurMaskFilter::BlurStyle*/ fBlurStyle; 20 int /*SkBlurStyle*/ fBlurStyle;
21 21
22 typedef SkDrawMaskFilter INHERITED; 22 typedef SkDrawMaskFilter INHERITED;
23 }; 23 };
24 24
25 #endif // SkDrawBlur_DEFINED 25 #endif // SkDrawBlur_DEFINED
OLDNEW
« no previous file with comments | « samplecode/SampleXfermodesBlur.cpp ('k') | src/animator/SkDrawBlur.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698