Home
last modified time | relevance | path

Searched refs:qPts (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/
DGrPathUtils.cpp206 void GrPathUtils::QuadUVMatrix::set(const SkPoint qPts[3]) { in set()
219 double x0 = qPts[0].fX; in set()
220 double y0 = qPts[0].fY; in set()
221 double x1 = qPts[1].fX; in set()
222 double y1 = qPts[1].fY; in set()
223 double x2 = qPts[2].fX; in set()
224 double y2 = qPts[2].fY; in set()
231 SkScalar maxD = qPts[0].distanceToSqd(qPts[1]); in set()
233 SkScalar d = qPts[1].distanceToSqd(qPts[2]); in set()
238 d = qPts[2].distanceToSqd(qPts[0]); in set()
[all …]
/external/skia/tests/
DPathOpsTestCommon.cpp186 SkPoint qPts[2] = { in CubicPathToQuads() local
190 quadPath->quadTo(qPts[0].fX, qPts[0].fY, qPts[1].fX, qPts[1].fY); in CubicPathToQuads()
DPathTest.cpp3627 const SkPoint qPts[] = {{6, 6}, {8, 8}, {6, 8}, {4, 8}, {4, 6}, {4, 4}, {6, 6}}; in test_contains() local
3628 p.moveTo(qPts[0]); in test_contains()
3629 for (int index = 1; index < (int) SK_ARRAY_COUNT(qPts); index += 2) { in test_contains()
3630 p.quadTo(qPts[index], qPts[index + 1]); in test_contains()
3636 for (int index = 0; index < (int) SK_ARRAY_COUNT(qPts) - 2; index += 2) { in test_contains()
3637 SkEvalQuadAt(&qPts[index], 0.5f, &halfway, nullptr); in test_contains()
/external/skia/src/gpu/batches/
DGrAAHairLinePathRenderer.cpp329 SkPoint* qPts = persp ? quadPts : devPts; in gather_lines_and_quads() local
331 pts[0] = qPts[0]; in gather_lines_and_quads()
332 pts[1] = qPts[1]; in gather_lines_and_quads()
333 pts[2] = qPts[2]; in gather_lines_and_quads()