Home
last modified time | relevance | path

Searched refs:rectPath (Results 1 – 8 of 8) sorted by relevance

/external/skqp/tests/
DPathOpsBuilderTest.cpp27 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 …]
DBlurTest.cpp316 SkPath rectPath; in DEF_TEST() local
317 rectPath.addRect(0.3f, 0.3f, 100.3f, 100.3f); in DEF_TEST()
338 cpu_blur_path(rectPath, sigma, rectSpecialCaseResult, kSize); in DEF_TEST()
DGrShapeTest.cpp2136 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()
/external/skia/tests/
DPathOpsBuilderTest.cpp27 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 …]
DBlurTest.cpp316 SkPath rectPath; in DEF_TEST() local
317 rectPath.addRect(0.3f, 0.3f, 100.3f, 100.3f); in DEF_TEST()
338 cpu_blur_path(rectPath, sigma, rectSpecialCaseResult, kSize); in DEF_TEST()
DGrShapeTest.cpp2136 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()
/external/skqp/samplecode/
DSamplePathOverstroke.cpp117 SkPath rectPath(SkPoint p1) { in rectPath() function in OverstrokeView
143 path = rectPath(p1); in onDrawContent()
/external/skia/samplecode/
DSamplePathOverstroke.cpp117 SkPath rectPath(SkPoint p1) { in rectPath() function in OverstrokeView
143 path = rectPath(p1); in onDrawContent()