I have a canvas of screen size where I draw certain shapes. Now I want to copy that shape (given relative x,y, width and height of the shape on the canvas) into new canvas. How do I do that?
For cropping, it may involve resizing/redrawing, in which case I will stick to copying approach.