Lines Matching defs:pts
181 bool SkQuadraticEdge::setQuadraticWithoutUpdate(const SkPoint pts[3], int shift) {
186 x0 = SkScalarRoundToFDot6(pts[0].fX, shift);
187 y0 = SkScalarRoundToFDot6(pts[0].fY, shift);
188 x1 = SkScalarRoundToFDot6(pts[1].fX, shift);
189 y1 = SkScalarRoundToFDot6(pts[1].fY, shift);
190 x2 = SkScalarRoundToFDot6(pts[2].fX, shift);
191 y2 = SkScalarRoundToFDot6(pts[2].fY, shift);
194 x0 = int(pts[0].fX * scale);
195 y0 = int(pts[0].fY * scale);
196 x1 = int(pts[1].fX * scale);
197 y1 = int(pts[1].fY * scale);
198 x2 = int(pts[2].fX * scale);
199 y2 = int(pts[2].fY * scale);
281 int SkQuadraticEdge::setQuadratic(const SkPoint pts[3], int shift) {
282 if (!setQuadraticWithoutUpdate(pts, shift)) {
351 bool SkCubicEdge::setCubicWithoutUpdate(const SkPoint pts[4], int shift, bool sortY) {
356 x0 = SkScalarRoundToFDot6(pts[0].fX, shift);
357 y0 = SkScalarRoundToFDot6(pts[0].fY, shift);
358 x1 = SkScalarRoundToFDot6(pts[1].fX, shift);
359 y1 = SkScalarRoundToFDot6(pts[1].fY, shift);
360 x2 = SkScalarRoundToFDot6(pts[2].fX, shift);
361 y2 = SkScalarRoundToFDot6(pts[2].fY, shift);
362 x3 = SkScalarRoundToFDot6(pts[3].fX, shift);
363 y3 = SkScalarRoundToFDot6(pts[3].fY, shift);
366 x0 = int(pts[0].fX * scale);
367 y0 = int(pts[0].fY * scale);
368 x1 = int(pts[1].fX * scale);
369 y1 = int(pts[1].fY * scale);
370 x2 = int(pts[2].fX * scale);
371 y2 = int(pts[2].fY * scale);
372 x3 = int(pts[3].fX * scale);
373 y3 = int(pts[3].fY * scale);
451 int SkCubicEdge::setCubic(const SkPoint pts[4], int shift) {
452 if (!this->setCubicWithoutUpdate(pts, shift)) {