summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f727367)
raw | patch | inline | side by side (parent: f727367)
author | pjrm <pjrm@users.sourceforge.net> | |
Wed, 23 May 2007 12:31:31 +0000 (12:31 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Wed, 23 May 2007 12:31:31 +0000 (12:31 +0000) |
src/dialogs/clonetiler.cpp | patch | blob | history |
index a6d9ff0a05a675ca68f1c09cf0c657341c679893..fe370c522dbc34148b7a65ec28fbef7ca4b61550 100644 (file)
x0 = sp_repr_get_double_attribute (obj_repr, "inkscape:tile-x0", 0);
y0 = sp_repr_get_double_attribute (obj_repr, "inkscape:tile-y0", 0);
} else {
- NR::Maybe<NR::Rect> r = SP_ITEM(obj)->getBounds(sp_item_i2doc_affine(SP_ITEM(obj)));
+ NR::Maybe<NR::Rect> r = SP_ITEM(obj)->getBounds(sp_item_i2doc_affine(SP_ITEM(obj)),
+ SPItem::GEOMETRIC_BBOX);
+ /* impl: Use of GEOMETRIC_BBOX is so that the stroke of rectangles will be shared
+ * (overlapped) rather than effectively doubled in width.
+ *
+ * (If you wish to change this, then please consider discussing at bug #1722238.) */
+
if (r) {
w = r->dimensions()[NR::X];
h = r->dimensions()[NR::Y];