| I can change the size of surface, don^t window? |
|
Mantis
|
Specifically need I blit a big image to little window
|
|||||||||||
|
|
||||||||||||
| Re: I can change the size of surface, don^t window? |
|
Mantis
|
Thank, I will rtfm SDL_gfx
SDL 2.0? |
|||||||||||
|
|
||||||||||||
|
MBrening
|
There isn't an official SDL 2.0 just yet. It is a work in progress. You'd have to grab the source from the repository. It uses hardware acceleration where available. So it's scaling would be a lot faster when there is hardware acceleration. If you don't mind dabbling with downloading from the repository and building SDL yourself, then I'd see about switching to SDL 2.0. Otherwise, SDL_gfx's rotozoom is probably your best option. |
|||||||||||||
|
|
||||||||||||||

