Scribus
Open source desktop publishing at your fingertips
Geom::Path Class Reference

Public Types

typedef BaseIterator< Sequence::iterator > iterator
 
typedef BaseIterator< Sequence::const_iterator > const_iterator
 
typedef Sequence::size_type size_type
 
typedef Sequence::difference_type difference_type
 

Public Member Functions

 Path (Path const &other)
 
 Path (Point p)
 
template<typename Impl >
 Path (BaseIterator< Impl > first, BaseIterator< Impl > last, bool closed=false)
 
Pathoperator= (Path const &other)
 
void swap (Path &other)
 
Curve const & operator[] (unsigned i) const
 
iterator begin ()
 
iterator end ()
 
Curve const & front () const
 
Curve const & back () const
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator end_open () const
 
const_iterator end_closed () const
 
const_iterator end_default () const
 
size_type size () const
 
size_type max_size () const
 
bool empty () const
 
bool closed () const
 
void close (bool closed=true)
 
Rect boundsFast () const
 
Rect boundsExact () const
 
Piecewise< D2< SBasis > > toPwSb () const
 
Path operator* (Matrix const &m) const
 
Point pointAt (double t) const
 
double valueAt (double t, Dim2 d) const
 
std::vector< double > roots (double v, Dim2 d) const
 
void appendPortionTo (Path &p, double f, double t) const
 
Path portion (double f, double t) const
 
Path portion (Interval i) const
 
Path reverse () const
 
void insert (iterator pos, Curve const &curve)
 
template<typename Impl >
void insert (iterator pos, BaseIterator< Impl > first, BaseIterator< Impl > last)
 
void clear ()
 
void erase (iterator pos)
 
void erase (iterator first, iterator last)
 
void replace (iterator replaced, Curve const &curve)
 
void replace (iterator first_replaced, iterator last_replaced, Curve const &curve)
 
template<typename Impl >
void replace (iterator replaced, BaseIterator< Impl > first, BaseIterator< Impl > last)
 
template<typename Impl >
void replace (iterator first_replaced, iterator last_replaced, BaseIterator< Impl > first, BaseIterator< Impl > last)
 
void start (Point p)
 
Point initialPoint () const
 
Point finalPoint () const
 
void append (Curve const &curve)
 
void append (D2< SBasis > const &curve)
 
template<typename CurveType , typename A >
void appendNew (A a)
 
template<typename CurveType , typename A , typename B >
void appendNew (A a, B b)
 
template<typename CurveType , typename A , typename B , typename C >
void appendNew (A a, B b, C c)
 
template<typename CurveType , typename A , typename B , typename C , typename D >
void appendNew (A a, B b, C c, D d)
 
template<typename CurveType , typename A , typename B , typename C , typename D , typename E >
void appendNew (A a, B b, C c, D d, E e)
 
template<typename CurveType , typename A , typename B , typename C , typename D , typename E , typename F >
void appendNew (A a, B b, C c, D d, E e, F f)
 
template<typename CurveType , typename A , typename B , typename C , typename D , typename E , typename F , typename G >
void appendNew (A a, B b, C c, D d, E e, F f, G g)
 
template<typename CurveType , typename A , typename B , typename C , typename D , typename E , typename F , typename G , typename H >
void appendNew (A a, B b, C c, D d, E e, F f, G g, H h)
 
template<typename CurveType , typename A , typename B , typename C , typename D , typename E , typename F , typename G , typename H , typename I >
void appendNew (A a, B b, C c, D d, E e, F f, G g, H h, I i)
 

The documentation for this class was generated from the following files: