Inkscape
Vector Graphics Editor
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
sanitize.cpp File Reference

Go to the source code of this file.

Typedefs

typedef std::vector< Edge > Edges
 

Functions

Edges edges (Path const &p, Crossings const &cr, unsigned ix)
 
template<class T >
void append (std::vector< T > &vec, std::vector< T > const &other)
 
Edges edges (PathVector const &ps, CrossingSet const &crs)
 
PathVector edges_to_paths (Edges const &es, PathVector const &ps)
 
void draw_cell (cairo_t *cr, Edges const &es, PathVector const &ps)
 
double ang (Point n1, Point n2)
 
template<class T >
void remove (std::vector< T > &vec, T const &val)
 
std::vector< Edgescells (cairo_t *, PathVector const &ps)
 
int cellWinding (Edges const &, PathVector const &)
 
int main (int argc, char **argv)
 

Typedef Documentation

◆ Edges

typedef std::vector<Edge> Edges

Definition at line 34 of file sanitize.cpp.

Function Documentation

◆ ang()

◆ append()

template<class T >
void append ( std::vector< T > &  vec,
std::vector< T > const &  other 
)

◆ cells()

std::vector< Edges > cells ( cairo_t ,
PathVector const &  ps 
)

◆ cellWinding()

int cellWinding ( Edges const &  ,
PathVector const &   
)

Definition at line 159 of file sanitize.cpp.

◆ draw_cell()

void draw_cell ( cairo_t cr,
Edges const &  es,
PathVector const &  ps 
)

◆ edges() [1/2]

◆ edges() [2/2]

Edges edges ( PathVector const &  ps,
CrossingSet const &  crs 
)

Definition at line 59 of file sanitize.cpp.

References Geom::append(), and edges().

◆ edges_to_paths()

PathVector edges_to_paths ( Edges const &  es,
PathVector const &  ps 
)

Definition at line 68 of file sanitize.cpp.

References es, and Geom::PathVector::push_back().

Referenced by draw_cell().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 201 of file sanitize.cpp.

References init().

◆ remove()