Lines Matching refs:p0
335 Returns the ratio in which the vector from p0 to p1 is stretched by transform
337 gdouble SPRect::vectorStretch(Geom::Point p0, Geom::Point p1, Geom::Affine xform) {
338 if (p0 == p1) {
342 return (Geom::distance(p0 * xform, p1 * xform) / Geom::distance(p0, p1));
394 Geom::Point p0 = Geom::Point(this->x.computed, this->y.computed);
397 return Geom::Rect(p0, p2);
485 Geom::Point p0 = Geom::Point(this->x.computed, this->y.computed) * i2dt;
491 p.push_back(Inkscape::SnapCandidatePoint(p0, Inkscape::SNAPSOURCE_RECT_CORNER, Inkscape::SNAPTARGET_RECT_CORNER));
498 p.push_back(Inkscape::SnapCandidatePoint((p0 + p1)/2, Inkscape::SNAPSOURCE_LINE_MIDPOINT, Inkscape::SNAPTARGET_LINE_MIDPOINT));
501 p.push_back(Inkscape::SnapCandidatePoint((p3 + p0)/2, Inkscape::SNAPSOURCE_LINE_MIDPOINT, Inkscape::SNAPTARGET_LINE_MIDPOINT));
505 p.push_back(Inkscape::SnapCandidatePoint((p0 + p2)/2, Inkscape::SNAPSOURCE_OBJECT_MIDPOINT, Inkscape::SNAPTARGET_OBJECT_MIDPOINT));