Searched refs:qPts (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/gpu/ganesh/geometry/ |
D | GrPathUtils.cpp | 131 void GrPathUtils::QuadUVMatrix::set(const SkPoint qPts[3]) { in set() 143 double x0 = qPts[0].fX; in set() 144 double y0 = qPts[0].fY; in set() 145 double x1 = qPts[1].fX; in set() 146 double y1 = qPts[1].fY; in set() 147 double x2 = qPts[2].fX; in set() 148 double y2 = qPts[2].fY; in set() 160 SkScalar maxD = SkPointPriv::DistanceToSqd(qPts[0], qPts[1]); in set() 162 SkScalar d = SkPointPriv::DistanceToSqd(qPts[1], qPts[2]); in set() 167 d = SkPointPriv::DistanceToSqd(qPts[2], qPts[0]); in set() [all …]
|
/external/skia/tests/ |
D | PathOpsTestCommon.cpp | 196 SkPoint qPts[2] = { in CubicPathToQuads() local 200 quadPath->quadTo(qPts[0].fX, qPts[0].fY, qPts[1].fX, qPts[1].fY); in CubicPathToQuads()
|
D | PathOpsAngleIdeas.cpp | 667 const QuadPts qPts[] = { in DEF_TEST() local 676 SkDQuad quads[std::size(qPts)]; in DEF_TEST() 677 for (int index = 0; index < (int) std::size(qPts); ++index) { in DEF_TEST() 678 quads[index].debugSet(qPts[index].fPts); in DEF_TEST()
|
D | PathTest.cpp | 4214 const SkPoint qPts[] = {{6, 6}, {8, 8}, {6, 8}, {4, 8}, {4, 6}, {4, 4}, {6, 6}}; in test_contains() local 4215 p.moveTo(qPts[0]); in test_contains() 4216 for (int index = 1; index < (int) std::size(qPts); index += 2) { in test_contains() 4217 p.quadTo(qPts[index], qPts[index + 1]); in test_contains() 4223 for (int index = 0; index < (int) std::size(qPts) - 2; index += 2) { in test_contains() 4224 SkEvalQuadAt(&qPts[index], 0.5f, &halfway, nullptr); in test_contains()
|
/external/skia/tools/fonts/ |
D | TestSVGTypeface.cpp | 1211 SkTArray<SkPoint, true> qPts; in path_to_quads() local 1222 qPts.clear(); in path_to_quads() 1223 convertCubicToQuads(pts, SK_Scalar1, &qPts); in path_to_quads() 1224 for (int i = 0; i < qPts.size(); i += 3) { in path_to_quads() 1226 qPts[i + 1].fX, qPts[i + 1].fY, qPts[i + 2].fX, qPts[i + 2].fY); in path_to_quads()
|
/external/skia/src/gpu/ganesh/ops/ |
D | AAHairLinePathRenderer.cpp | 308 const SkPoint* qPts = persp ? srcPts : devPts; in gather_lines_and_quads() local 310 pts[0] = qPts[0]; in gather_lines_and_quads() 311 pts[1] = qPts[1]; in gather_lines_and_quads() 312 pts[2] = qPts[2]; in gather_lines_and_quads()
|