Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DPath.cpp244 static void addMove(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addMove() argument
250 segmentPoints.push_back(point); in addMove()
254 static void addLine(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addLine() argument
256 if (segmentPoints.empty()) { in addLine()
257 segmentPoints.push_back(SkPoint::Make(0, 0)); in addLine()
259 } else if (segmentPoints.back() == toPoint) { in addLine()
262 float length = lengths.back() + SkPoint::Distance(segmentPoints.back(), toPoint); in addLine()
263 segmentPoints.push_back(toPoint); in addLine()
320 bezierCalculation bezierFunction, std::vector<SkPoint>& segmentPoints, in addBezier() argument
358 addLine(segmentPoints, lengths, iter->second); in addBezier()
[all …]