/third_party/skia/tests/ |
H A D | ParsePathTest.cpp | 8 #include "include/utils/SkParsePath.h" 13 SkParsePath::ToSVGString(path, &str); in test_to_from() 16 bool success = SkParsePath::FromSVGString(str.c_str(), &path2); in test_to_from() 19 SkParsePath::ToSVGString(path2, &str2); in test_to_from() 47 bool success = SkParsePath::FromSVGString(gRec[i].fStr, &path); in DEF_TEST() 71 bool success = SkParsePath::FromSVGString("M 5", &path); in DEF_TEST() 87 bool success = SkParsePath::FromSVGString(spec.c_str(), &path); in DEF_TEST() 126 REPORTER_ASSERT(r, SkParsePath::FromSVGString(gTests[i].fStr, &path)); in DEF_TEST() 135 REPORTER_ASSERT(r, SkParsePath::FromSVGString(arcs, &path)); in DEF_TEST()
|
H A D | PathTest.cpp | 20 #include "include/utils/SkParsePath.h" 543 SkAssertResult(SkParsePath::FromSVGString(pathBug, &smallPath)); in test_tiny_path_convexity() 546 SkAssertResult(SkParsePath::FromSVGString(pathBug, &largePath)); in test_tiny_path_convexity() 1083 bool valid = SkParsePath::FromSVGString(gDegen[i], &path); in test_direction() 1100 bool valid = SkParsePath::FromSVGString(gCW[i], &path); in test_direction() 1116 bool valid = SkParsePath::FromSVGString(gCCW[i], &path); in test_direction() 2851 bool valid = SkParsePath::FromSVGString(gZeroLengthTests[i].testPath, &p); in test_zero_length_paths() 2956 bool valid = SkParsePath::FromSVGString(gIterTests[i].testPath, &p); in test_iter() 5125 SkAssertResult(SkParsePath::FromSVGString(test, &aPath)); in DEF_TEST()
|
H A D | PathOpsExtendedTest.cpp | 15 #include "include/utils/SkParsePath.h" 417 SkParsePath::ToSVGString(path, &svg); in json_path_out()
|
/third_party/skia/docs/examples/ |
H A D | SKIA_LOGO_svg.cpp | 28 SkParsePath::FromSVGString("M34.63 100.63C44.38 88.57 59.87 82.86 74.88 81.2" in REG_FIDDLE() 40 SkParsePath::FromSVGString("M160.82 82.85L206.05 82.85L206.05 155.15L254.83 82.84" in REG_FIDDLE() 45 SkParsePath::FromSVGString("M426.45 218.16L480.705 218.16L489.31 249.4L538.54 249.42" in REG_FIDDLE() 50 SkParsePath::FromSVGString("M362.64 257.32L335.292 293.392L307.8 257.48L362.64 257.32", in REG_FIDDLE()
|
H A D | SkParsePath_FromSVGString.cpp | 16 SkParsePath::FromSVGString(pathString, &path); in REG_FIDDLE()
|
H A D | SkParsePath_ToSVGString.cpp | 18 SkParsePath::ToSVGString(star(), &s); in REG_FIDDLE()
|
H A D | flag_us_1960.cpp | 18 SkParsePath::FromSVGString( in REG_FIDDLE()
|
H A D | flag_us_1792.cpp | 18 SkParsePath::FromSVGString("M 0 -150 L 88 121 L -143 -46 L 143 -46 L -88 121 Z", &star); in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | dashcubics.cpp | 21 #include "include/utils/SkParsePath.h" 62 SkParsePath::FromSVGString(d, &path); in DEF_SIMPLE_GM() 80 SkAssertResult(SkParsePath::FromSVGString( 87 SkAssertResult(SkParsePath::FromSVGString( 94 SkAssertResult(SkParsePath::FromSVGString(
|
H A D | arcto.cpp | 20 #include "include/utils/SkParsePath.h" 107 SkParsePath::FromSVGString(arcstr, &path); in DEF_SIMPLE_GM() 164 SkAssertResult(SkParsePath::FromSVGString(spec.c_str(), &path)); in DEF_SIMPLE_GM() 224 SkParsePath::FromSVGString(d, &path); in DEF_SIMPLE_GM()
|
H A D | patharcto.cpp | 42 #include "include/utils/SkParsePath.h" 47 SkParsePath::FromSVGString(str, &path); in DEF_SIMPLE_GM() 51 SkParsePath::FromSVGString(str2, &path2); in DEF_SIMPLE_GM()
|
H A D | crbug_691386.cpp | 13 #include "include/utils/SkParsePath.h" 17 if (!SkParsePath::FromSVGString("M -1 0 A 1 1 0 0 0 1 0 Z", &path)) { in DEF_SIMPLE_GM_CAN_FAIL()
|
H A D | strokes.cpp | 22 #include "include/utils/SkParsePath.h" 105 SkAssertResult(SkParsePath::FromSVGString("M0,0h0M10,0h0M20,0h0", &fMoveHfPath)); 106 SkAssertResult(SkParsePath::FromSVGString("M0,0zM10,0zM20,0z", &fMoveZfPath)); 107 SkAssertResult(SkParsePath::FromSVGString("M0,0h25", &fDashedfPath)); 108 SkAssertResult(SkParsePath::FromSVGString("M 0 0 C 0 0 0 0 0 0", &fCubicPath)); 109 SkAssertResult(SkParsePath::FromSVGString("M 0 0 Q 0 0 0 0", &fQuadPath)); 110 SkAssertResult(SkParsePath::FromSVGString("M 0 0 L 0 0", &fLinePath));
|
H A D | path_stroke_with_zero_length.cpp | 23 #include "include/utils/SkParsePath.h" 170 SkParsePath::FromSVGString(pathStr.c_str(), &path); in draw_zero_length_capped_paths() 250 SkParsePath::FromSVGString(pathStr.c_str(), &path); in draw_zero_length_capped_paths_dbl_contour()
|
H A D | pathopsinverse.cpp | 123 #include "include/utils/SkParsePath.h" 136 SkParsePath::FromSVGString(svgStr[i], &path[i]); in DEF_SIMPLE_GM()
|
/third_party/skia/samplecode/ |
H A D | SampleArc.cpp | 26 #include "include/utils/SkParsePath.h" 34 SkParsePath::ToSVGString(p, &str); in testparse() 35 SkParsePath::FromSVGString(str.c_str(), &p2); in testparse() 36 SkParsePath::ToSVGString(p2, &str2); in testparse()
|
H A D | SampleStrokePath.cpp | 14 #include "include/utils/SkParsePath.h" 111 SkParsePath::FromSVGString(str, &fPath);
|
H A D | SamplePath.cpp | 20 #include "include/utils/SkParsePath.h" 53 SkParsePath::FromSVGString(str, &path); in test_cubic2()
|
/third_party/skia/include/utils/ |
H A D | SkParsePath.h | 17 class SK_API SkParsePath { class
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGPath.cpp | 10 #include "include/utils/SkParsePath.h" 24 return SkParsePath::FromSVGString(fCurPos, path); in parse()
|
/third_party/skia/src/svg/ |
H A D | SkSVGDevice.h | 13 #include "include/utils/SkParsePath.h" 50 SkParsePath::PathEncoding pathEncoding() const;
|
H A D | SkSVGDevice.cpp | 300 void addPathAttributes(const SkPath&, SkParsePath::PathEncoding); 632 SkParsePath::PathEncoding encoding) { 634 SkParsePath::ToSVGString(path, &pathData, encoding); 718 SkParsePath::PathEncoding SkSVGDevice::pathEncoding() const { 720 ? SkParsePath::PathEncoding::Relative 721 : SkParsePath::PathEncoding::Absolute;
|
/third_party/skia/src/utils/ |
H A D | SkParsePath.cpp | 8 #include "include/utils/SkParsePath.h" 91 bool SkParsePath::FromSVGString(const char data[], SkPath* result) { in FromSVGString() 239 void SkParsePath::ToSVGString(const SkPath& path, SkString* str, PathEncoding encoding) { in ToSVGString()
|
/third_party/skia/fuzz/ |
H A D | FuzzParsePath.cpp | 10 #include "include/utils/SkParsePath.h" 124 SkDebugf("SkParsePath::FromSVGString(%s, &path);\n",spec.c_str()); in DEF_FUZZ() 125 if (!SkParsePath::FromSVGString(spec.c_str(), &path)){ in DEF_FUZZ()
|
/third_party/skia/modules/pathkit/ |
H A D | pathkit_wasm_bindings.cpp | 20 #include "include/utils/SkParsePath.h" 212 SkParsePath::ToSVGString(path, &s); in ToSVGString() 223 if (SkParsePath::FromSVGString(str.c_str(), &path)) { in FromSVGString()
|