Dia non-uniform scaling (aka "sub shapes") patch UPDATE (against svn rev. 3875)

Hi guys,

first of all, best wishes for the new year!

With this post I present, to you, the latest update to the non-uniform scaling patch.
This post is an update to the original posts:

- The Preview Post: http://mail.gnome.org/archives/dia-list/2007-November/msg00023.html
- The Request for Approval Post: http://mail.gnome.org/archives/dia-list/2007-November/msg00051.html
- The Comments and Discussion follow-up Post: http://mail.gnome.org/archives/dia-list/2007-December/msg00005.html

To summarize:

1. This patch allows to embed sub-shapes in a parent shape. The sub-shapes do not resize/distort when the parent shape
is resized (i.e. they can resize independently).
2. Sub-shapes are "anchored" inside a parent shape. Supported anchors: Fixed (top/bottom/left/right) and Proportional.
3. This patch fixes an outstanding bug in dia that prevented shapes for having a default size (i.e. the dreaded default 2x2cm
default size is now only used as a fallback, for each shape a default size can now be specified in all units that dia supports).
4. In order to prevent errors, the sub-shapes are trapped inside the parent shape.

Like last time, you can preview the patch in action on the following url:


Comments are welcome!



Attachment: subshape_for_dia_svn_rev3875-1.patch.gz
Description: GNU Zip compressed data

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]