OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #ifndef SkSweepGradient_DEFINED | 8 #ifndef SkSweepGradient_DEFINED |
10 #define SkSweepGradient_DEFINED | 9 #define SkSweepGradient_DEFINED |
11 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 Context* onCreateContext(const ContextRec&, void* storage) const override; | 42 Context* onCreateContext(const ContextRec&, void* storage) const override; |
44 | 43 |
45 private: | 44 private: |
46 const SkPoint fCenter; | 45 const SkPoint fCenter; |
47 | 46 |
48 friend class SkGradientShader; | 47 friend class SkGradientShader; |
49 typedef SkGradientShaderBase INHERITED; | 48 typedef SkGradientShaderBase INHERITED; |
50 }; | 49 }; |
51 | 50 |
52 #endif | 51 #endif |
OLD | NEW |