I got an image in canvas. I need to scale my image to the top, to the bottom, to the left and to the right differently.
drawImage has only width and height parameters, but not top, bottom, right and left.
drawImage(img, 0, 0, c.width, c.height)
How can I do this?