Lines Matching defs:c1
510 * Append \a c1 to \a this with possible fusing of close endpoints. If the end of this curve and the start of c1 are within tolerance distance,
511 * then the startpoint of c1 is moved to the end of this curve and the first subpath of c1 is appended to the last subpath of this curve.
516 SPCurve::append_continuous(SPCurve const *c1, double tolerance)
521 g_return_val_if_fail(c1 != NULL, NULL);
522 if ( this->is_closed() || c1->is_closed() ) {
526 if (c1->is_empty()) {
531 _pathv = c1->_pathv;
535 if ( (fabs((*this->last_point())[X] - (*c1->first_point())[X]) <= tolerance)
536 && (fabs((*this->last_point())[Y] - (*c1->first_point())[Y]) <= tolerance) )
538 // c1's first subpath can be appended to this curve's last subpath
539 Geom::PathVector::const_iterator path_it = c1->_pathv.begin();
546 for (++path_it; path_it != c1->_pathv.end(); ++path_it) {
551 append(c1, true);