, spacing (0)
, top_padding (0), right_padding (0), bottom_padding (0), left_padding (0)
, top_margin (0), right_margin (0), bottom_margin (0), left_margin (0)
+ , homogenous (false)
{
self = new Rectangle (this);
self->set_outline (false);
, spacing (0)
, top_padding (0), right_padding (0), bottom_padding (0), left_padding (0)
, top_margin (0), right_margin (0), bottom_margin (0), left_margin (0)
+ , homogenous (false)
{
self = new Rectangle (this);
self->set_outline (false);
boost::optional<Rect> bb = (*i)->bounding_box();
if (bb) {
largest_height = std::max (largest_height, bb.get().height());
- largest_width = std::max (largest_height, bb.get().width());
+ largest_width = std::max (largest_width, bb.get().width());
}
}
}
}
previous_edge = previous_edge.translate (Duple (0, spacing + shift));
+
} else {
Distance shift = 0;
}
}
- previous_edge = previous_edge.translate (Duple (0, spacing + shift));
+ previous_edge = previous_edge.translate (Duple (spacing + shift, 0));
}
}