add getBoundingRectangle to DrawingCanvas