OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
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 | 9 |
10 #ifndef SkGeometry_DEFINED | 10 #ifndef SkGeometry_DEFINED |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 private: | 307 private: |
308 enum { | 308 enum { |
309 kQuadCount = 8, // should handle most conics | 309 kQuadCount = 8, // should handle most conics |
310 kPointCount = 1 + 2 * kQuadCount, | 310 kPointCount = 1 + 2 * kQuadCount, |
311 }; | 311 }; |
312 SkAutoSTMalloc<kPointCount, SkPoint> fStorage; | 312 SkAutoSTMalloc<kPointCount, SkPoint> fStorage; |
313 int fQuadCount; // #quads for current usage | 313 int fQuadCount; // #quads for current usage |
314 }; | 314 }; |
315 | 315 |
316 #endif | 316 #endif |
OLD | NEW |