Re: rotated path segment proposal

Dirk Schulze:
> I just had another thought with the direction of a path. It could be
> possible to take the direction of the path as the rotation level: M0,0
> L100,100 F 100. Forward would continue the direction of the first
> two segments. You'd see a straight line. Means without setting the
> rotation to 45 degree we would take it, since the last point points
> into this direction. But I'm neither sure if it is always possible to
> get the direction, nor if it makes sense.

I guess I wasn’t clear in my earlier messages.  The above is what my
proposal would support. :)  The current rotation for a path segment is
given by the tangent at the end of the preceding path segment.  In
addition, R/r could be used to specify a new current rotation.

For the cases where it’s not possible to get a direction, we already
have definitions in the Implementation Requirements appendix to
determine a direction:

  http://www.w3.org/TR/SVG11/implnote.html#PathElementImplementationNotes

> PS: Should these kind of discussion go to www-svg as well?

Yes, my mistake for sending the initial mail to public-svg-wg. :(

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Tuesday, 26 July 2011 00:07:11 UTC