On Fri, 27 Aug 1999, James Henstridge wrote:
> Hello,
>
> I have been looking at implementing SVG path elements in the object. Part
> of this would require drawing/filling paths made up of both bezier curves
> and lines. The current API does not really allow for this (unless I use
> degenerate bezier curves).
>
> What would people think of changing the renderer API for the beziers to
> accept an array of structures like this:
> struct {
> enum {LINE_TO, CURVE_TO} type;
> Point p1, p2, p3;
> }
>
> As far as I can see, beziers are only used in one shape, and it would not
> be hard to add support for this in the different renderers.
>
> What do people think of this?
Sure. Looks good to me.
/ Alex