Lines Matching refs:GrPoint
10 #include "GrPoint.h"
39 uint32_t GrPathUtils::quadraticPointCount(const GrPoint points[],
66 uint32_t GrPathUtils::generateQuadraticPoints(const GrPoint& p0,
67 const GrPoint& p1,
68 const GrPoint& p2,
70 GrPoint** points,
79 GrPoint q[] = {
83 GrPoint r = { SkScalarAve(q[0].fX, q[1].fX), SkScalarAve(q[0].fY, q[1].fY) };
91 uint32_t GrPathUtils::cubicPointCount(const GrPoint points[],
117 uint32_t GrPathUtils::generateCubicPoints(const GrPoint& p0,
118 const GrPoint& p1,
119 const GrPoint& p2,
120 const GrPoint& p3,
122 GrPoint** points,
131 GrPoint q[] = {
136 GrPoint r[] = {
140 GrPoint s = { SkScalarAve(r[0].fX, r[1].fX), SkScalarAve(r[0].fY, r[1].fY) };
162 GrPoint pts[4];
189 void GrPathUtils::QuadUVMatrix::set(const GrPoint qPts[3]) {
233 lineVec.setOrthog(lineVec, GrPoint::kLeft_Side);
461 void GrPathUtils::convertCubicToQuads(const GrPoint p[4],