How to resize a picture?

Hi !
I would like to know if there is a function or anything that can “resize” a
surface and what’s in it… for exemple for a zoom or someting like that…
or a fullscreen mode…

Thx._________________________________________________________________
Discutez en ligne avec vos amis, essayez MSN Messenger?:
http://messenger.msn.fr

olivier caignart wrote:

Hi !
I would like to know if there is a function or anything that can “resize” a

surface and what’s in it… for exemple for a zoom or someting like that…

The SDL_gfx library (http://www.ferzkopp.net/Software/SDL_gfx-2.0/)
has some good zooming functions (it was formally the excellent
SDL_rotozoom library)

or a fullscreen mode…

We have that too, just add SDL_FULLSCREEN to the flags you pass into
SDL_SetVideoMode.

Hey,

Not sure about the zoom/resizing stuff (i kindof doubt it tho, but i’m
sure you could find something in the libs section on libsdl.org). As
far as full screen, just initialize w/ SDL_FULLSCREEN when you
initialize the SDL.

Cameron

olivier caignart wrote:>

Hi !
I would like to know if there is a function or anything that can
"resize" a surface and what’s in it… for exemple for a zoom or
someting like that… or a fullscreen mode…

Thx.


Discutez en ligne avec vos amis, essayez MSN Messenger :
http://messenger.msn.fr


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl