Painting

For devices that require shadings as rasterised objects, we provide a function to paint a shading to a fz_pixmap:


\begin{lstlisting}
/*
fz_paint_shade: Render a shade to a given pixmap.
\par
sh...
..., const fz_matrix *ctm, fz_pixmap *dest, const fz_irect *bbox);
\end{lstlisting}

This is currently used by the draw and SVG devices.