OLD | NEW |
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 SkBlurMaskFilter_DEFINED | 8 #ifndef SkBlurMaskFilter_DEFINED |
9 #define SkBlurMaskFilter_DEFINED | 9 #define SkBlurMaskFilter_DEFINED |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 @return the emboss maskfilter | 57 @return the emboss maskfilter |
58 */ | 58 */ |
59 static SkMaskFilter* CreateEmboss(SkScalar blurSigma, const SkScalar directi
on[3], | 59 static SkMaskFilter* CreateEmboss(SkScalar blurSigma, const SkScalar directi
on[3], |
60 SkScalar ambient, SkScalar specular); | 60 SkScalar ambient, SkScalar specular); |
61 | 61 |
62 // DEPRECATED - radius-based | 62 // DEPRECATED - radius-based |
63 static SkMaskFilter* CreateEmboss(const SkScalar direction[3], | 63 static SkMaskFilter* CreateEmboss(const SkScalar direction[3], |
64 SkScalar ambient, SkScalar specular, | 64 SkScalar ambient, SkScalar specular, |
65 SkScalar blurRadius); | 65 SkScalar blurRadius); |
66 | 66 |
67 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() | 67 SK_DECLARE_FLATTENABLE_GROUP_BASE() |
68 | 68 |
69 private: | 69 private: |
70 SkBlurMaskFilter(); // can't be instantiated | 70 SkBlurMaskFilter(); // can't be instantiated |
71 }; | 71 }; |
72 | 72 |
73 #endif | 73 #endif |
OLD | NEW |