This function is only intended to be used when implementing new canvas items, specifically container items such as CanvasGroup.
Updates the item, if needed, and any children.
this |
a CanvasItem. |
entire_tree |
if the entire subtree should be updated. |
cr |
a cairo context. |
bounds |
a CanvasBounds to return the new bounds in. |