Searched refs:segmentPoints (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/jni/ |
D | Path.cpp | 237 static void addMove(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addMove() argument 243 segmentPoints.push_back(point); in addMove() 247 static void addLine(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addLine() argument 249 if (segmentPoints.empty()) { in addLine() 250 segmentPoints.push_back(SkPoint::Make(0, 0)); in addLine() 252 } else if (segmentPoints.back() == toPoint) { in addLine() 255 float length = lengths.back() + SkPoint::Distance(segmentPoints.back(), toPoint); in addLine() 256 segmentPoints.push_back(toPoint); in addLine() 313 bezierCalculation bezierFunction, std::vector<SkPoint>& segmentPoints, in addBezier() argument 351 addLine(segmentPoints, lengths, iter->second); in addBezier() [all …]
|