Lines Matching defs:p1
412 static int eps_curveto (hpgs_device *_this, const hpgs_point *p1,
420 p1->x,p1->y,p2->x,p2->y,p3->x,p3->y) < 0)
1178 const hpgs_point *p0, const hpgs_point *p1,
1185 // p1 and p2 inside bbox of p0 and p3.
1187 p1->x < ll.x || p2->x < ll.x ||
1188 p1->y < ll.y || p2->y < ll.y ||
1189 p1->x > ur.x || p2->x > ur.x ||
1190 p1->y > ur.y || p2->y > ur.y )
1197 hpgs_point p1l = { 0.5 * (p0->x + p1->x), 0.5 * (p0->y + p1->y) };
1198 hpgs_point p2l = { 0.25 * (p0->x + p2->x) + 0.5 * p1->x, 0.25 * (p0->y + p2->y) + 0.5 * p1->y };
1199 hpgs_point pm = { (p0->x + p3->x) * 0.125 + 0.375 * (p1->x + p2->x), (p0->y + p3->y) * 0.125 + 0.375 * (p1->y + p2->y) };
1200 hpgs_point p1u = { 0.25 * (p1->x + p3->x) + 0.5 * p2->x, 0.25 * (p1->y + p3->y) + 0.5 * p2->y };
1208 static int pls_curveto (hpgs_device *_this, const hpgs_point *p1,
1219 add_bezier(pls,&pls->moveto,p1,p2,p3,0);