diff options
Diffstat (limited to 'tests/PathOpsCubicIntersectionTestData.h')
-rw-r--r-- | tests/PathOpsCubicIntersectionTestData.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/PathOpsCubicIntersectionTestData.h b/tests/PathOpsCubicIntersectionTestData.h new file mode 100644 index 0000000000..9e7ad7348e --- /dev/null +++ b/tests/PathOpsCubicIntersectionTestData.h @@ -0,0 +1,30 @@ +/* + * Copyright 2012 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ +#include "SkPathOpsCubic.h" + +extern const SkDCubic pointDegenerates[]; +extern const SkDCubic notPointDegenerates[]; +extern const SkDCubic tests[][2]; +extern SkDCubic hexTests[][2]; + +extern void convert_testx(); + +extern const SkDCubic lines[]; +extern const SkDCubic notLines[]; +extern const SkDCubic modEpsilonLines[]; +extern const SkDCubic lessEpsilonLines[]; +extern const SkDCubic negEpsilonLines[]; + +extern const size_t pointDegenerates_count; +extern const size_t notPointDegenerates_count; +extern const size_t tests_count; +extern const size_t hexTests_count; +extern const size_t lines_count; +extern const size_t notLines_count; +extern const size_t modEpsilonLines_count; +extern const size_t lessEpsilonLines_count; +extern const size_t negEpsilonLines_count; |