I'm doing a basic 2d paint app and have got stuck trying to figure how to make a zoom tool.
I've been drawing the pixels on to a buffer as the user does the painting. Trouble is I can't see how I could take a chunk of the buffer and expand it to fill the window.
Is there a way? Is it blindingly obvious and I'm just being a donkey's arse?
I've been drawing the pixels on to a buffer as the user does the painting. Trouble is I can't see how I could take a chunk of the buffer and expand it to fill the window.
Is there a way? Is it blindingly obvious and I'm just being a donkey's arse?