[Cairo] Color transforms

Bill Spitzak spitzak at d2.com
Wed Jul 16 19:43:49 PDT 2003


On Wednesday 16 July 2003 05:26 pm, Carl Worth wrote:

> The effect is similar to stroking line segments with round joins, but
> Cairo currently has a much more efficient algorithm for stroking
> splines than for doing round joins. What occurred to me today is that
> the efficient algorithm for spline stroking could probably also be
> applied to the case of straight lines with round joins.

So is it possible to decompose the curve into line segments without having to 
know if it is going to be stroked or filled or knowing the line thickness, as 
long as the resulting line joins can be marked whether they are this new type 
or not?

-- 
                   ,~,~,~,~ ~ ~ ~ ~
     /\_       _|_========___         Bill Spitzak
 ~~~/\/\\~~~~~~\____________/~~~~~~~~ spitzak at d2.com




More information about the cairo mailing list