OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
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 #ifndef SkTwoPointConicalGradient_DEFINED | 9 #ifndef SkTwoPointConicalGradient_DEFINED |
10 #define SkTwoPointConicalGradient_DEFINED | 10 #define SkTwoPointConicalGradient_DEFINED |
11 | 11 |
12 #include "SkGradientShaderPriv.h" | 12 #include "SkGradientShaderPriv.h" |
13 | 13 |
14 struct TwoPtRadial { | 14 struct TwoPtRadial { |
15 enum { | 15 enum { |
16 kDontDrawT = 0x80000000 | 16 kDontDrawT = 0x80000000 |
17 }; | 17 }; |
18 | 18 |
19 float fCenterX, fCenterY; | 19 float fCenterX, fCenterY; |
20 float fDCenterX, fDCenterY; | 20 float fDCenterX, fDCenterY; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 private: | 76 private: |
77 typedef SkGradientShaderBase INHERITED; | 77 typedef SkGradientShaderBase INHERITED; |
78 const SkPoint fCenter1; | 78 const SkPoint fCenter1; |
79 const SkPoint fCenter2; | 79 const SkPoint fCenter2; |
80 const SkScalar fRadius1; | 80 const SkScalar fRadius1; |
81 const SkScalar fRadius2; | 81 const SkScalar fRadius2; |
82 }; | 82 }; |
83 | 83 |
84 #endif | 84 #endif |
OLD | NEW |