UsefulIdiot
Joined: 17 Jan 2006 Posts: 13
|
Posted: Sat Mar 18, 2006 10:39 am Post subject: Quick question about yeldarbs tuts |
|
|
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 |
|