This function is intended to be used by subclasses of CanvasItemSimple, typically
in their get_requested_area
method.
It converts the item's bounds to a bounding box in its parent's coordinate space. If the item has no transformation matrix set then no conversion is needed.
this | |
cr |
a cairo context. |
bounds |
the bounds of the item, in the item's coordinate space. |