Lines Matching refs:srcPts
143 // srcPts[] must be monotonic in X and Y
144 void SkEdgeClipper::clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip) {
146 bool reverse = sort_increasing_Y(pts, srcPts, 3);
221 bool SkEdgeClipper::clipQuad(const SkPoint srcPts[3], const SkRect& clip) {
226 bounds.setBounds(srcPts, 3);
230 int countY = SkChopQuadAtYExtrema(srcPts, monoY);
336 // srcPts[] must be monotonic in X and Y
417 bool SkEdgeClipper::clipCubic(const SkPoint srcPts[4], const SkRect& clip) {
421 const SkRect bounds = compute_cubic_bounds(srcPts);
431 return this->clipLine(srcPts[0], srcPts[3], clip);
434 int countY = SkChopCubicAtYExtrema(srcPts, monoY);