Bounding

Sometimes it can be desirable to know the area covered by a path. The fz_bound_path function enables exactly this, both for filled and stroked path. For details of the fz_stroke_state structure, see PathStroking PathStroking.


\begin{lstlisting}
/*
fz_bound_path: Return a bounding rectangle for a path.
\p...
...nst fz_stroke_state *stroke, const fz_matrix *ctm, fz_rect *r);
\end{lstlisting}