Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
path-boolop.h File Reference

Boolean operations. More...

Go to the source code of this file.

Functions

Geom::PathVector flattened (Geom::PathVector const &pathv, FillRule fill_rule)
 Flatten a pathvector according to the given fill rule.
 
void flatten (Geom::PathVector &pathv, FillRule fill_rule)
 
std::vector< Geom::PathVectorpathvector_cut (Geom::PathVector const &pathv, Geom::PathVector const &lines)
 Cut a pathvector along a collection of lines into several smaller pathvectors.
 
Geom::PathVector sp_pathvector_boolop (Geom::PathVector const &pathva, Geom::PathVector const &pathvb, BooleanOp bop, FillRule fra, FillRule frb)
 Perform a boolean operation on two pathvectors.
 

Detailed Description

Boolean operations.

Definition in file path-boolop.h.

Function Documentation

◆ flatten()

◆ flattened()

Geom::PathVector flattened ( Geom::PathVector const &  pathv,
FillRule  fill_rule 
)

Flatten a pathvector according to the given fill rule.

Definition at line 157 of file path-boolop.cpp.

References distribute_intersection_times(), Geom::PathVector::intersectSelf(), make_path(), make_shape(), Path::MakePathVector(), and sort_and_clean_intersection_times().

Referenced by flatten(), and Inkscape::SubItem::operator+=().

◆ pathvector_cut()

◆ sp_pathvector_boolop()

Geom::PathVector sp_pathvector_boolop ( Geom::PathVector const &  pathva,
Geom::PathVector const &  pathvb,
BooleanOp  bop,
FillRule  fra,
FillRule  frb 
)