Inkscape
Vector Graphics Editor
|
Interface between Inkscape code (SPItem) and remove-overlaps function. More...
Go to the source code of this file.
Functions | |
void | removeoverlap (std::vector< SPItem * > const &items, double const xGap, double const yGap) |
Takes a list of inkscape items and moves them as little as possible such that rectangular bounding boxes are separated by at least xGap horizontally and yGap vertically. | |
Interface between Inkscape code (SPItem) and remove-overlaps function.
Definition in file removeoverlap.cpp.
void removeoverlap | ( | std::vector< SPItem * > const & | items, |
double const | xGap, | ||
double const | yGap | ||
) |
Takes a list of inkscape items and moves them as little as possible such that rectangular bounding boxes are separated by at least xGap horizontally and yGap vertically.
Definition at line 48 of file removeoverlap.cpp.
References SPItem::desktopVisualBounds(), item, items, removeoverlaps(), rs, Geom::X, and Geom::Y.
Referenced by object_remove_overlaps().