[SDL] Re: How to display the 320*240*24(bpp) image into a 640*480*24(bpp) window?

Gautier Portet impulse at no-log.org
Mon Jan 17 14:33:21 PST 2005


On Sun, 16 Jan 2005 20:47:40 +0800, Zhou, Yubao wrote:

> 	Or, my question is how to scale a image to window?

you can use zoomSurface() from the SDL_gfx additional library.
or you can try by yourself, 2x zoom is pretty simple

Gautier







More information about the SDL mailing list