[SDL] resize surface
Roger D. Vargas
roger at eht.scu.tur.cu
Thu Jul 25 08:33:01 PDT 2002
On Thu, 25 Jul 2002, Alexis wrote:
> A very simple issue most of you may have an answer..
> My program loads an image from a file (let's say 'whatever.tga') on a
> surface using sdl_image. This program is supposed to blit this surface
> somewhere on another surface (the screen for instance).
> My problem is i've gotta scale the image's surface so that it keeps a
> certain ratio. I guess there must be a way to resize this surface but can't
> find any SDL call to perform this task, do i have to implement something
> like this myself?
I think there are some libs that does that (maybe rotozoom?) and also
Roger D. Vargas | El sistema se apagara en 5 segundos.
ICQ: 117641572 | Salvese el que pueda!
Linux User: 180787 |
More information about the SDL