Mojca Miklavec | 27 Apr 2009 11:26
Picon

Re: straight lines vs. curves (SVG)

On Mon, Apr 27, 2009 at 09:33, Taco Hoekwater wrote:
>
> it is much easier&faster to check for
> a straightness flag in the knot node than to check the control point
> locations, so it is almost certain that the executable would not use
> the pre- and postcontrol points at all for straight segments.

Hans just needs to make sure that his "unitsquare randomized" will
still work after adding the flag :)

I find Jacko's idea interesting :), but if you implement this flag
(which is probably more reliable) it might make sense to keep the
control points at 1/3, 2/3 where they are now (to start with) and to
remove the "straight" flag as soon as user starts messing with them
(starts moving them around).

Mojca
--
http://tug.org/metapost/


Gmane