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 | 7 |
8 #ifndef GrDistanceFieldAdjustTable_DEFINED | 8 #ifndef GrDistanceFieldAdjustTable_DEFINED |
9 #define GrDistanceFieldAdjustTable_DEFINED | 9 #define GrDistanceFieldAdjustTable_DEFINED |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 return fTable[i]; | 22 return fTable[i]; |
23 } | 23 } |
24 | 24 |
25 private: | 25 private: |
26 void buildDistanceAdjustTable(); | 26 void buildDistanceAdjustTable(); |
27 | 27 |
28 SkScalar* fTable; | 28 SkScalar* fTable; |
29 }; | 29 }; |
30 | 30 |
31 #endif | 31 #endif |
OLD | NEW |