user_bounds_to_device
Description:
This function is intended to be used by subclasses of CanvasItemSimple,
typically in their update
or get_requested_area
methods.
It converts the item's bounds to a bounding box in the canvas (device) coordinate space.
Parameters:
this | |
cr |
a cairo context. |
bounds |
the bounds of the item, in the item's coordinate space. |