Cyrille Chepelov écrit:
> Does your new object look the same as the older one ? (or can be defaulted
> upon conversion to look exactly like the older one ?). We need a policy on
> this kind of things (there are a lot of older, static C objects, which could
> be re-implemented into shapes ; likewise, you have the first case of a shape
> which becomes an active object).
It does not like exactly like the WAN Connection object, but it is close.
The main difference is that my object is a link while the WAN Connection is
just a shape with a vertical orientation.
For those interested I can send a picture showing it.
I don't really see the usefulness of the previous object anymore, but I
don't think it is a good idea to remove it because it would break>
To write a converter you should take the bounding box if the object, set the
endpoints of the link to have an x coordinate to be topleft + (width / 2) of
the old object, and set its width to the right - left of the old object.
That would make something almost similar, but this will not be the same
shape.
Hub