How to rotate text or image using SDL??

Started by
10 comments, last by Spippo 18 years, 4 months ago
Hi all,
I have added SDL_rotozoom.h and SDL_rotozoom.cpp into my project, but I met mistake when trying to use the function SDL_Surface *rotozoomSurface(SDL_Surface * src, double angle, double zoom, int smooth), I can't correct it because it just give a message box and give the mistake of memory.
If I give 0.0 for the parameter angle, it's correct, but it's just correct with the value 0.0. Is there any answer for that

Thank for your help :)
Advertisement
How about:

SDL_Surface *image;
rotozoomSurface(image, double angle, double zoom, int smooth);
Spippo is magic,is magic!!!!!Oh ho hoo!!!!Spippo is magic

This topic is closed to new replies.

Advertisement