Searched refs:item_box (Results 1 - 3 of 3) sorted by relevance

/inkscape/src/
H A Dremoveoverlap.cpp52 Geom::OptRect item_box((item)->desktopVisualBounds());
53 if (item_box) {
54 Geom::Point min(item_box->min() - .5*gap);
55 Geom::Point max(item_box->max() + .5*gap);
68 records.push_back(Record(item, item_box->midpoint(), vspc_rect));
H A Dgraphlayout.cpp72 Geom::Rect const item_box(sp_item_bbox_desktop(u));
73 Geom::Point const curr(item_box.midpoint());
130 Geom::OptRect const item_box = u->desktopVisualBounds(); member in class:Geom
131 if(item_box) {
132 Geom::Point ll(item_box->min());
133 Geom::Point ur(item_box->max());
142 //fprintf(stderr,"NULL item_box found in graphlayout, ignoring!\n");
231 Geom::OptRect item_box = u->desktopVisualBounds(); local
232 if (item_box) {
233 Geom::Point const curr(item_box
[all...]
/inkscape/src/ui/dialog/
H A Dalign-and-distribute.cpp720 Geom::OptRect item_box = !prefs_bbox ? (item)->desktopVisualBounds() : (item)->desktopGeometricBounds(); local
721 if (item_box) {
723 double x = _dialog.randomize_bbox->min()[Geom::X] + (*item_box)[Geom::X].extent() /2 +
724 g_random_double_range (0, (*_dialog.randomize_bbox)[Geom::X].extent() - (*item_box)[Geom::X].extent());
725 double y = _dialog.randomize_bbox->min()[Geom::Y] + (*item_box)[Geom::Y].extent()/2 +
726 g_random_double_range (0, (*_dialog.randomize_bbox)[Geom::Y].extent() - (*item_box)[Geom::Y].extent());
728 Geom::Point t = Geom::Point (x, y) - 0.5*(item_box->max() + item_box->min());

Completed in 94 milliseconds