Home | History | Annotate | Download | only in core

Lines Matching refs:srcPts

141 // srcPts[] must be monotonic in X and Y
142 void SkEdgeClipper::clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip) {
144 bool reverse = sort_increasing_Y(pts, srcPts, 3);
216 bool SkEdgeClipper::clipQuad(const SkPoint srcPts[3], const SkRect& clip) {
221 bounds.set(srcPts, 3);
225 int countY = SkChopQuadAtYExtrema(srcPts, monoY);
331 // srcPts[] must be monotonic in X and Y
411 bool SkEdgeClipper::clipCubic(const SkPoint srcPts[4], const SkRect& clip) {
415 const SkRect bounds = compute_cubic_bounds(srcPts);
425 return this->clipLine(srcPts[0], srcPts[3], clip);
428 int countY = SkChopCubicAtYExtrema(srcPts, monoY);