Searched refs:lastControlPoint (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/gpu/tessellate/ |
D | GrStrokeIndirectTessellator.cpp | 101 bool SK_WARN_UNUSED_RESULT countLine(const SkPoint pts[2], SkPoint lastControlPoint, in countLine() argument 108 float rotation = SkMeasureAngleBetweenVectors(pts[0] - lastControlPoint, pts[1] - pts[0]); in countLine() 113 void countQuad(const SkPoint pts[3], SkPoint lastControlPoint, int8_t* resolveLevelPtr) { in countQuad() argument 119 rotation += SkMeasureAngleBetweenVectors(pts[0] - lastControlPoint, nextTan); in countQuad() 124 void countCubic(const SkPoint pts[4], SkPoint lastControlPoint, int8_t* resolveLevelPtr) { in countCubic() argument 129 if (fIsRoundJoin && pts[0] != lastControlPoint) { in countCubic() 131 rotation += SkMeasureAngleBetweenVectors(pts[0] - lastControlPoint, nextTan); in countCubic() 136 void countChoppedCubic(const SkPoint pts[4], const float chopT, SkPoint lastControlPoint, in countChoppedCubic() argument 140 this->countCubic(chops, lastControlPoint, resolveLevelPtr); in countChoppedCubic() 165 bool SK_WARN_UNUSED_RESULT countLine(const SkPoint pts[2], SkPoint lastControlPoint, in countLine() argument [all …]
|
D | GrStrokeHardwareTessellator.cpp | 341 void internalMoveTo(SkPoint pt, SkPoint lastControlPoint) { in internalMoveTo() argument 343 fCurrContourFirstControlPoint = fLastControlPoint = lastControlPoint; in internalMoveTo()
|
/external/skia/tests/ |
D | StrokeIndirectTest.cpp | 191 SkPoint startPoint=p[0], lastControlPoint=p[0]; in get_contour_closing_control_point() local 199 lastControlPoint = p[2]; in get_contour_closing_control_point() 205 lastControlPoint = p[1]; in get_contour_closing_control_point() 211 lastControlPoint = p[0]; in get_contour_closing_control_point() 217 return (p[0] == startPoint) ? lastControlPoint : p[0]; in get_contour_closing_control_point() 284 SkPoint lastControlPoint; in verifyResolveLevels() local 292 lastControlPoint = get_contour_closing_control_point(iter, iterate.end()); in verifyResolveLevels() 305 float rotation = SkMeasureAngleBetweenVectors(pts[0] - lastControlPoint, in verifyResolveLevels() 315 lastControlPoint = pts[0]; in verifyResolveLevels() 338 rotation += SkMeasureAngleBetweenVectors(pts[0] - lastControlPoint, in verifyResolveLevels() [all …]
|