Searched refs:firstPt (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/src/core/ |
D | SkContourMeasure.cpp | 149 static bool conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt, in conic_too_curvy() argument 151 SkPoint midEnds = firstPt + lastPt; in conic_too_curvy() 423 SkPoint firstPt = fPts[0]; in buildSegments() local 424 distance = this->compute_line_seg(fPts[ptIndex], firstPt, distance, ptIndex); in buildSegments() 426 *fPts.append() = firstPt; in buildSegments()
|
D | SkScan_Hairline.cpp | 572 SkPoint pts[4], firstPt, lastPt; in hair_path() local 586 firstPt = lastPt = pts[0]; in hair_path() 626 pts[1] = firstPt; in hair_path() 639 firstPt = pts[0]; // the curve moved the initial point, so close to it instead in hair_path()
|
D | SkPath.cpp | 294 SkPoint firstPt; in conservativelyContainsRect() local 311 firstPt = prevPt = pts[0]; in conservativelyContainsRect() 345 return check_edge_against_rect(prevPt, firstPt, rect, direction); in conservativelyContainsRect() 2154 SkPoint firstPt = currPt; in BySign() local 2182 points = &firstPt; in BySign() 3507 const SkPoint* firstPt = nullptr; // first point in the rect (last of first moves) in IsRectContour() local 3531 SkPoint lineEnd = SkPath::kClose_Verb == verb ? *firstPt : *pts++; in IsRectContour() 3598 firstPt = pts; in IsRectContour() 3600 closeXY = *firstPt - *lastPt; in IsRectContour() 3624 closeXY = *firstPt - *lastPt; in IsRectContour()
|
/third_party/skia/tests/ |
D | PathTest.cpp | 2256 SkPoint firstPt = {0.f, 0.f}; in test_is_closed_rect() local 2260 firstPt = verbPts[0]; in test_is_closed_rect() 2274 path2.lineTo(firstPt); in test_is_closed_rect()
|