/third_party/skia/tests/ |
D | PathOpsBuilderTest.cpp | 27 SkPath rectPath; in DEF_TEST() local 28 rectPath.setFillType(SkPathFillType::kEvenOdd); in DEF_TEST() 29 rectPath.addRect(0, 1, 2, 3, SkPathDirection::kCW); in DEF_TEST() 30 builder.add(rectPath, kUnion_SkPathOp); in DEF_TEST() 37 int pixelDiff = comparePaths(reporter, __FUNCTION__, rectPath, result); in DEF_TEST() 40 rectPath.reset(); in DEF_TEST() 41 rectPath.setFillType(SkPathFillType::kEvenOdd); in DEF_TEST() 42 rectPath.addRect(0, 1, 2, 3, SkPathDirection::kCCW); in DEF_TEST() 43 builder.add(rectPath, kUnion_SkPathOp); in DEF_TEST() 48 REPORTER_ASSERT(reporter, rectPath == result); in DEF_TEST() [all …]
|
D | BlurTest.cpp | 315 SkPath rectPath; in DEF_TEST() local 316 rectPath.addRect(0.3f, 0.3f, 100.3f, 100.3f); in DEF_TEST() 337 cpu_blur_path(rectPath, sigma, rectSpecialCaseResult, kSize); in DEF_TEST()
|
D | GrStyledShapeTest.cpp | 2152 SkPath rectPath; in DEF_TEST() local 2153 rectPath.addRect(r); in DEF_TEST() 2154 geos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2156 geos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2158 rrectPathGeos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2166 SkPath rectPath; in DEF_TEST() local 2167 rectPath.addRRect(rr); in DEF_TEST() 2168 geos.emplace_back(new RRectPathGeo(rectPath, rr, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2170 geos.emplace_back(new RRectPathGeo(rectPath, rr, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2172 rrectPathGeos.emplace_back(new RRectPathGeo(rectPath, rr, in DEF_TEST()
|
D | GrClipStackTest.cpp | 798 SkPath rectPath; in DEF_TEST() local 799 rectPath.addRect(rect); in DEF_TEST() 801 .actual().path(rectPath).finishElements() in DEF_TEST() 903 SkPath rectPath; in DEF_TEST() local 904 rectPath.addRect(rect); in DEF_TEST() 906 SkPath inverseRectPath = rectPath; in DEF_TEST()
|
/third_party/flutter/skia/tests/ |
D | PathOpsBuilderTest.cpp | 27 SkPath rectPath; in DEF_TEST() local 28 rectPath.setFillType(SkPath::kEvenOdd_FillType); in DEF_TEST() 29 rectPath.addRect(0, 1, 2, 3, SkPath::kCW_Direction); in DEF_TEST() 30 builder.add(rectPath, kUnion_SkPathOp); in DEF_TEST() 37 int pixelDiff = comparePaths(reporter, __FUNCTION__, rectPath, result); in DEF_TEST() 40 rectPath.reset(); in DEF_TEST() 41 rectPath.setFillType(SkPath::kEvenOdd_FillType); in DEF_TEST() 42 rectPath.addRect(0, 1, 2, 3, SkPath::kCCW_Direction); in DEF_TEST() 43 builder.add(rectPath, kUnion_SkPathOp); in DEF_TEST() 48 REPORTER_ASSERT(reporter, rectPath == result); in DEF_TEST() [all …]
|
D | BlurTest.cpp | 318 SkPath rectPath; in DEF_TEST() local 319 rectPath.addRect(0.3f, 0.3f, 100.3f, 100.3f); in DEF_TEST() 340 cpu_blur_path(rectPath, sigma, rectSpecialCaseResult, kSize); in DEF_TEST()
|
D | GrShapeTest.cpp | 2136 SkPath rectPath; in DEF_TEST() local 2137 rectPath.addRect(r); in DEF_TEST() 2138 geos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2140 geos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2142 rrectPathGeos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2150 SkPath rectPath; in DEF_TEST() local 2151 rectPath.addRRect(rr); in DEF_TEST() 2152 geos.emplace_back(new RRectPathGeo(rectPath, rr, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2154 geos.emplace_back(new RRectPathGeo(rectPath, rr, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2156 rrectPathGeos.emplace_back(new RRectPathGeo(rectPath, rr, in DEF_TEST()
|
/third_party/flutter/flutter/packages/flutter_test/test/ |
D | matchers_test.dart | 252 final Path rectPath = Path() 257 rectPath, 264 final Path rectPath = Path() 266 rectPath.addRect(const Rect.fromLTRB(5.0, 5.0, 6.0, 6.0)); 270 rectPath, 277 final Path rectPath = Path() 288 rectPath, 295 final Path rectPath = Path() 306 rectPath,
|
/third_party/skia/samplecode/ |
D | SamplePathOverstroke.cpp | 112 SkPath rectPath(SkPoint p1) { in rectPath() function in OverstrokeView 138 path = rectPath(p1); in onDrawContent()
|
/third_party/flutter/skia/samplecode/ |
D | SamplePathOverstroke.cpp | 112 SkPath rectPath(SkPoint p1) { in rectPath() function in OverstrokeView 138 path = rectPath(p1); in onDrawContent()
|