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

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

Issue 21835004: Blur refactoring (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Removed unneeded #includes Created 7 years, 3 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/SkDrawEmboss.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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkDrawEmboss_DEFINED 10 #ifndef SkDrawEmboss_DEFINED
11 #define SkDrawEmboss_DEFINED 11 #define SkDrawEmboss_DEFINED
12 12
13 #include "SkDrawBlur.h" 13 #include "SkDrawBlur.h"
14 14
15 class SkDrawEmboss : public SkDrawMaskFilter { 15 class SkDrawEmboss : public SkDrawMaskFilter {
16 DECLARE_DRAW_MEMBER_INFO(Emboss); 16 DECLARE_DRAW_MEMBER_INFO(Emboss);
17 SkDrawEmboss(); 17 SkDrawEmboss();
18 virtual SkMaskFilter* getMaskFilter(); 18 virtual SkMaskFilter* getMaskFilter() SK_OVERRIDE;
19 protected: 19 protected:
20 SkTDScalarArray direction; 20 SkTDScalarArray fDirection;
21 SkScalar radius, ambient, specular; 21 SkScalar fSigma;
22 SkScalar fAmbient;
23 SkScalar fSpecular;
24
25 typedef SkDrawMaskFilter INHERITED;
22 }; 26 };
23 27
24 #endif // SkDrawEmboss_DEFINED 28 #endif // SkDrawEmboss_DEFINED
OLDNEW
« no previous file with comments | « samplecode/SampleXfermodesBlur.cpp ('k') | src/animator/SkDrawEmboss.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698