x1, y1, x2, y2 = ccontext:FillExtents()
Contrast with ccontext:PathExtents(), which is similar, but returns non-zero extents for some paths with no inked area, such as a simple line segment.
Note that ccontext:FillExtents() must necessarily do more work to
compute the precise inked areas in light of the fill rule, so
ccontext:PathExtents() may be more desirable for sake of performance
if the non-inked path extents are desired.
See ccontext:Fill(), ccontext:SetFillRule() and ccontext:FillPreserve().