I do not know where is the bounding box of a Painter.
Looking at ApproximateQuadratic() and ApproximateCubic() it seems all painting shapes are reduced to lines stored in a LinearPathConsumer called rasterizer.
However I am lost when following Painter rendering process.