cairoPathExtents(cr)
cairoFillExtents
and cairoStrokeExtents
which
return the extents of only the area that would be "inked" by
the corresponding drawing operations.
The result of cairoPathExtents
is defined as equivalent to the
limit of cairoStrokeExtents
with CAIRO_LINE_CAP_ROUND
as the
line width approaches 0.0, (but never reaching the empty-rectangle
returned by cairoStrokeExtents
for a line width of 0.0).
Specifically, this means that zero-area sub-paths such as
cairoMoveTo
;cairoLineTo
segments, (even degenerate cases
where the coordinates to both calls are identical), will be
considered as contributing to the extents. However, a lone
cairoMoveTo
will not contribute to the results of
cairoPathExtents
. Since 1.6