Lines Matching defs:pts
84 // Perform minimal analysis of 'pts' (which are suitable for MakeFromSkQuad), and determine a
86 static GrQuad::Type quad_type_for_points(const SkPoint pts[4], const SkMatrix& matrix) {
90 // If 'pts' was formed by SkRect::toQuad() and not transformed further, it is safe to use the
93 if ((pts[0].fX == pts[3].fX && pts[1].fX == pts[2].fX) &&
94 (pts[0].fY == pts[1].fY && pts[2].fY == pts[3].fY)) {
116 GrQuad GrQuad::MakeFromSkQuad(const SkPoint pts[4], const SkMatrix& matrix) {
118 rearrange_sk_to_gr_points(pts, &xs, &ys);
119 Type type = quad_type_for_points(pts, matrix);