| 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 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 virtual void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE; | 84 virtual void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE; |
| 85 virtual Context* onCreateContext(const ContextRec&, void* storage) const SK_
OVERRIDE; | 85 virtual Context* onCreateContext(const ContextRec&, void* storage) const SK_
OVERRIDE; |
| 86 | 86 |
| 87 private: | 87 private: |
| 88 SkPoint fCenter1; | 88 SkPoint fCenter1; |
| 89 SkPoint fCenter2; | 89 SkPoint fCenter2; |
| 90 SkScalar fRadius1; | 90 SkScalar fRadius1; |
| 91 SkScalar fRadius2; | 91 SkScalar fRadius2; |
| 92 bool fFlippedGrad; | 92 bool fFlippedGrad; |
| 93 | 93 |
| 94 friend class SkGradientShader; |
| 94 typedef SkGradientShaderBase INHERITED; | 95 typedef SkGradientShaderBase INHERITED; |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 #endif | 98 #endif |
| OLD | NEW |