Resizing canvas, where's the problem?
Posted
by Noor
on Stack Overflow
See other posts from Stack Overflow
or by Noor
Published on 2010-04-21T16:03:48Z
Indexed on
2010/04/21
17:53 UTC
Read the original article
Hit count: 332
I'll post a link since theres to much to post here:
http://hem.bredband.net/noor/canvas.htm
My goal is to make the picture fit inside the window with the width of the image being the same as the window, even after resize. If the pictures height becomes to big for the window then the picture should resize itself according to the height and not the width.
Somewhere along my code there is something wrong.. forgive me if this is stupid, i am still learning..
Thanks!
© Stack Overflow or respective owner