[cairo] Re: Different start/end line caps.

David Reveman davidr at novell.com
Sun Feb 20 10:05:40 PST 2005


On Sat, 2005-02-19 at 11:29 -0500, Miguel de Icaza wrote: 
> Hey,
> 
> > >     Since there is an API shakeup in progress, we would like to request
> > > the ability to have both start and end line caps.  Currently the start
> > > cap and the end cap have to be the same.
> > > 
> > >     This is a feature that we need.
> > > 
> > > Miguel.
> > 
> > I think this is already planned. If I remember correct, an interface
> > that allows you to draw your own caps is what we want.
> 
> That sounds useful, but for those of us that do not know much about the
> technical details, it would be nice to have just two api calls and pass
> the standard definition numbers that we already have for the line_cap
> into start_cap and end_cap.
> 
> miguel.

I guess that would be useful. But it's not obvious how dashed lines
would be handled. Should each dash be handled as a separate line or do
we need start_cap, end_cap and middle_cap?

-David




More information about the cairo mailing list