+
+/**
+Performs alignment of nested geometries, such as widgets and their parts.
+*/
+struct Alignment
+{
+ float x, y;
+
+ Alignment(): x(0), y(0) { }
+ Alignment(float x_, float y_): x(x_), y(y_) { }
+ void apply(Geometry &, const Geometry &) const;
+ void apply(Geometry &, const Geometry &, const Sides &) const;
+};
+