| 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 SkTwoPointRadialGradient_DEFINED | 9 #ifndef SkTwoPointRadialGradient_DEFINED |
| 10 #define SkTwoPointRadialGradient_DEFINED | 10 #define SkTwoPointRadialGradient_DEFINED |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 private: | 51 private: |
| 52 const SkPoint fCenter1; | 52 const SkPoint fCenter1; |
| 53 const SkPoint fCenter2; | 53 const SkPoint fCenter2; |
| 54 const SkScalar fRadius1; | 54 const SkScalar fRadius1; |
| 55 const SkScalar fRadius2; | 55 const SkScalar fRadius2; |
| 56 SkPoint fDiff; | 56 SkPoint fDiff; |
| 57 SkScalar fStartRadius, fDiffRadius, fSr2D2, fA, fOneOverTwoA; | 57 SkScalar fStartRadius, fDiffRadius, fSr2D2, fA, fOneOverTwoA; |
| 58 | 58 |
| 59 void init(); | 59 void init(); |
| 60 | 60 |
| 61 friend class SkGradientShader; |
| 61 typedef SkGradientShaderBase INHERITED; | 62 typedef SkGradientShaderBase INHERITED; |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 #endif | 65 #endif |
| OLD | NEW |