An Insider's Guide to cairo
Carl D. Worth
Red Hat, Inc.
cworth@cworth.org
Abstract:
I present details of the internals of the cairo graphics
library. The algorithms and components presented include:
- Stroking a cubic Bézier spline with a circular pen,
(Minkowski sums and the convolution of polygonal tracings).
- Robust, (and efficient) tessellation in the face of
limited-precision arithmetic.
- Careful rasterization algorithms suitable for
incremental rendering with no seams, (describing our failed
coverage-calculating approach as well as our new
point-sampling approach).
- Compositing (why pre-multiplied alpha is the one true way).
Presentation slides:
Presented at the Desktop Developers' Conference on 2005-07-19.
Carl Worth