Home
last modified time | relevance | path

Searched refs:quadPath (Results 1 – 10 of 10) sorted by relevance

/external/skqp/tests/
DPathOpsTestCommon.cpp166 void CubicPathToQuads(const SkPath& cubicPath, SkPath* quadPath) { in CubicPathToQuads() argument
167 quadPath->reset(); in CubicPathToQuads()
176 quadPath->moveTo(pts[0].fX, pts[0].fY); in CubicPathToQuads()
179 quadPath->lineTo(pts[1].fX, pts[1].fY); in CubicPathToQuads()
182 quadPath->quadTo(pts[1].fX, pts[1].fY, pts[2].fX, pts[2].fY); in CubicPathToQuads()
193 quadPath->quadTo(qPts[0].fX, qPts[0].fY, qPts[1].fX, qPts[1].fY); in CubicPathToQuads()
197 quadPath->close(); in CubicPathToQuads()
DPathOpsTestCommon.h30 void CubicPathToQuads(const SkPath& cubicPath, SkPath* quadPath);
DGrShapeTest.cpp2183 SkPath quadPath; in DEF_TEST() local
2184 quadPath.quadTo(10, 10, 5, 8); in DEF_TEST()
2185 geos.emplace_back(new PathGeo(quadPath, PathGeo::Invert::kNo)); in DEF_TEST()
2186 geos.emplace_back(new PathGeo(quadPath, PathGeo::Invert::kYes)); in DEF_TEST()
/external/skia/tests/
DPathOpsTestCommon.cpp167 void CubicPathToQuads(const SkPath& cubicPath, SkPath* quadPath) { in CubicPathToQuads() argument
168 quadPath->reset(); in CubicPathToQuads()
174 quadPath->moveTo(pts[0].fX, pts[0].fY); in CubicPathToQuads()
177 quadPath->lineTo(pts[1].fX, pts[1].fY); in CubicPathToQuads()
180 quadPath->quadTo(pts[1].fX, pts[1].fY, pts[2].fX, pts[2].fY); in CubicPathToQuads()
191 quadPath->quadTo(qPts[0].fX, qPts[0].fY, qPts[1].fX, qPts[1].fY); in CubicPathToQuads()
195 quadPath->close(); in CubicPathToQuads()
DPathOpsTestCommon.h30 void CubicPathToQuads(const SkPath& cubicPath, SkPath* quadPath);
DGrStyledShapeTest.cpp2199 SkPath quadPath; in DEF_TEST() local
2200 quadPath.quadTo(10, 10, 5, 8); in DEF_TEST()
2201 geos.emplace_back(new PathGeo(quadPath, PathGeo::Invert::kNo)); in DEF_TEST()
2202 geos.emplace_back(new PathGeo(quadPath, PathGeo::Invert::kYes)); in DEF_TEST()
/external/skqp/samplecode/
DSamplePathOverstroke.cpp68 SkPath quadPath(SkPoint p1, SkPoint p2) { in quadPath() function in OverstrokeView
137 path = quadPath(p1, p2); in onDrawContent()
149 path = quadPath(p1, p2); in onDrawContent()
/external/skia/samplecode/
DSamplePathOverstroke.cpp63 SkPath quadPath(SkPoint p1, SkPoint p2) { in quadPath() function in OverstrokeView
132 path = quadPath(p1, p2); in onDrawContent()
144 path = quadPath(p1, p2); in onDrawContent()
/external/skqp/tools/fonts/
DSkTestSVGTypeface.cpp980 void path_to_quads(const SkPath& path, SkPath* quadPath) { in path_to_quads() argument
981 quadPath->reset(); in path_to_quads()
991 quadPath->moveTo(pts[0].fX, pts[0].fY); in path_to_quads()
994 quadPath->lineTo(pts[1].fX, pts[1].fY); in path_to_quads()
997 quadPath->quadTo(pts[1].fX, pts[1].fY, pts[2].fX, pts[2].fY); in path_to_quads()
1003 quadPath->quadTo(qPts[i+1].fX, qPts[i+1].fY, qPts[i+2].fX, qPts[i+2].fY); in path_to_quads()
1009 quadPath->quadTo(quadPts[i*2+1].fX, quadPts[i*2+1].fY, in path_to_quads()
1014 quadPath->close(); in path_to_quads()
/external/skia/tools/fonts/
DTestSVGTypeface.cpp1121 void path_to_quads(const SkPath& path, SkPath* quadPath) { in path_to_quads() argument
1122 quadPath->reset(); in path_to_quads()
1128 case SkPathVerb::kMove: quadPath->moveTo(pts[0].fX, pts[0].fY); break; in path_to_quads()
1129 case SkPathVerb::kLine: quadPath->lineTo(pts[1].fX, pts[1].fY); break; in path_to_quads()
1131 quadPath->quadTo(pts[1].fX, pts[1].fY, pts[2].fX, pts[2].fY); in path_to_quads()
1137 quadPath->quadTo( in path_to_quads()
1144 quadPath->quadTo(quadPts[i * 2 + 1].fX, in path_to_quads()
1150 case SkPathVerb::kClose: quadPath->close(); break; in path_to_quads()