OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
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 #ifndef SkMasks_DEFINED |
| 8 #define SkMasks_DEFINED |
| 9 |
7 #include "SkTypes.h" | 10 #include "SkTypes.h" |
8 | 11 |
9 /* | 12 /* |
10 * | 13 * |
11 * Contains useful mask routines for SkMaskSwizzler | 14 * Contains useful mask routines for SkMaskSwizzler |
12 * | 15 * |
13 */ | 16 */ |
14 class SkMasks { | 17 class SkMasks { |
15 public: | 18 public: |
16 | 19 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 * | 75 * |
73 */ | 76 */ |
74 SkMasks(const MaskInfo red, const MaskInfo green, const MaskInfo blue, | 77 SkMasks(const MaskInfo red, const MaskInfo green, const MaskInfo blue, |
75 const MaskInfo alpha); | 78 const MaskInfo alpha); |
76 | 79 |
77 const MaskInfo fRed; | 80 const MaskInfo fRed; |
78 const MaskInfo fGreen; | 81 const MaskInfo fGreen; |
79 const MaskInfo fBlue; | 82 const MaskInfo fBlue; |
80 const MaskInfo fAlpha; | 83 const MaskInfo fAlpha; |
81 }; | 84 }; |
| 85 |
| 86 #endif |
OLD | NEW |