[cairo] cairo_set_dash performance

cu cairouser at yahoo.com
Thu Feb 5 11:33:19 PST 2009


Good day all!

When using cairo_set_dash (i.e. drawing lines with various dash
patterns) I am experiencing a performance hit of about 20% application
wide. That translates to more than that for just the line drawing -
drawing is about 80% of execution time and lines comprise about 1/3 of
objects that need to be drawn.

Is that an expected result? Am I doing/not doing anything specific that
I should? Is there a way to still get dashed lines without a performance
hit of this magnitude?

Thanks!

--Michael


More information about the cairo mailing list