Lines Matching defs:p3
413 const hpgs_point *p2, const hpgs_point *p3 )
420 p1->x,p1->y,p2->x,p2->y,p3->x,p3->y) < 0)
1179 const hpgs_point *p2, const hpgs_point *p3,
1182 hpgs_point ll = { HPGS_MIN(p0->x,p3->x),HPGS_MIN(p0->y,p3->y) };
1183 hpgs_point ur = { HPGS_MAX(p0->x,p3->x),HPGS_MAX(p0->y,p3->y) };
1185 // p1 and p2 inside bbox of p0 and p3.
1192 hpgs_bbox_add(&pls->path_bb,p3);
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 };
1201 hpgs_point p2u = { 0.5 * (p2->x + p3->x), 0.5 * (p2->y + p3->y) };
1204 add_bezier(pls,&pm,&p1u,&p2u,p3,depth+1);
1209 const hpgs_point *p2, const hpgs_point *p3 )
1219 add_bezier(pls,&pls->moveto,p1,p2,p3,0);
1221 pls->moveto = *p3;