Kuba,
> This is with tk 3.6.163. To reproduce:
>
> 1. Create a polygon.
> 2. Create a spline at one end of the polygon.
> 3. Join.
> 4. Start editing polygon.
> 5. End editing.
> 6. Click on a spline part to start editing. A point from the polygon
> part will be selected instead.
>
> The path can have any number of polygon and spline segments -- in all
> cases, splines are ignored. The expected behavior would be to select
> the nearest endpoint of the spline.
>
> I haven't looked into fixing it yet. Occurs in both my port and original
> source. I came upon this as I was moving all drawing code into one place
> (expose event).
>
> Worse yet, the path connectivity gets messed up when you edit paths
> containing multiple parts: sometimes the path will randomly close when
> it's open, sometimes a path will fork. Say you have a path having a
> polygon, spline, polygon. When editing, the spline may reattach itself
> to some other point than the endpoint of either polygon. Again, this is
> consistent both in original tk version and in my port.
Most (if not all) of this behavior was fixed in xcircuit 3.7. The three
primary differences between version 3.6 and 3.7 are (1) the addition of
support for multiple windows in 3.7, (2) the correction of a lot of bad
behavior with editing paths, and (3) the addition of full support for
editing more than one element at the same time (3.6 has rudimentary
support for this, but only if all the elements selected are polygons.
For example, in version 3.7, you can generate a parallelogram,
then select the two points on any side, and move both exclusive of the
other points. Previously, this could only be done by changing the
"polygon edit mode", and it would only work on 4-sided figures.
Additionally, for example with the polygon-spline combination mentioned
above, with version 3.7 you can select the entire spline, and move it
away from the polygon without altering its shape. This is, of course,
a critically useful feature for stretching and reshaping things like
boxes with rounded corners.
I think the main problem here was my not promoting version 3.7 to a
stable release, after having fairly thoroughly debugged the element
editing changes and additions.
---Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: [email protected] |
| Open Circuit Design, Inc. | web: http://opencircuitdesign.com |
| 22815 Timber Creek Lane | phone: (301) 528-5030 |
| Clarksburg, MD 20871-4001 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev