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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 @param specular coefficient for specular highlights (e.g. 8) | 48 @param specular coefficient for specular highlights (e.g. 8) |
49 @param blurRadius amount to blur before applying lighting (e.g. 3) | 49 @param blurRadius amount to blur before applying lighting (e.g. 3) |
50 @return the emboss maskfilter | 50 @return the emboss maskfilter |
51 */ | 51 */ |
52 static SkMaskFilter* CreateEmboss( const SkScalar direction[3], | 52 static SkMaskFilter* CreateEmboss( const SkScalar direction[3], |
53 SkScalar ambient, SkScalar specular, | 53 SkScalar ambient, SkScalar specular, |
54 SkScalar blurRadius); | 54 SkScalar blurRadius); |
55 | 55 |
56 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() | 56 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() |
57 private: | 57 private: |
| 58 |
58 SkBlurMaskFilter(); // can't be instantiated | 59 SkBlurMaskFilter(); // can't be instantiated |
59 }; | 60 }; |
60 | 61 |
61 #endif | 62 #endif |
OLD | NEW |