[Cairo] Stroking problem
Keith Packard
keithp at keithp.com
Fri Jul 25 12:05:53 PDT 2003
Around 12 o'clock on Jul 25, Soorya Kuloor wrote:
> I did a runtime profile and found that function
> _line_segs_intersect_ceil() in file cairo_traps.c goes into an almost
> infinite loop at the while loop at line 416.
Cool -- it didn't infinite loop. We just rewrote that code to make sure
it was correct and are doing a linear search at sub-pixel resolution.
Changing that to a faster search should solve the performance problem.
Thanks for constructing a test case for this...
-keith
More information about the cairo
mailing list