Inkscape
Vector Graphics Editor
|
Remove overlaps function. More...
Go to the source code of this file.
Functions | |
void | removeoverlap (std::vector< SPItem * > const &items, double xGap, double 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. | |
Remove overlaps function.
Definition in file removeoverlap.h.
void removeoverlap | ( | std::vector< SPItem * > const & | items, |
double | xGap, | ||
double | 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().