When using yeldarbs tuts to draw a png to the screen, I have a problem with the size of the pngs being drawn. Ive tried changing many values inside his initGraphics() function(graphics.cpp) , but the output of the png(with the size of 480x272), only 1/4 of the image is displayed but scaled to fit. I tried changing the PIXEL_SIZE definition and the others related to it, but to no avail.
For example, with his tutorial, make a png that is 480x272, use thick lines to divide it into quarters, display it with the same code, and it only displays the top left portion of the image.
Thanks
Quick question about yeldarbs tuts
-
- Posts: 13
- Joined: Tue Jan 17, 2006 4:44 pm