@Frex
Yes that's what i thought of in the first place: have a final image, then get the pixelptr, and create a new pixelptr from the previous one, but 16 times bigger, and then copy 16 times the same pixel data for each pixel, and then copy that into another image, and finally displaying that image, but that would be REALLY slow wouldn't it ?
@eXpl0it3r
where would i put setsmooth ? are you sure this is what i want? because what i actually do is draw everything on a tiny sprite, and use a view to zoom in 4 times, so i don't think this would change anything ?
And the copy thing is just an observation, because view (what i have seen) does not really zoom in on a sprite, what it does is (what think) copy every sprite into a bigger one and displaying that instead, while applying the transformations on the bigger sprites.
I am sorry i cannot give you code, it's too messy and long, but if you're willing to try for yourself do this:
make a program with a tiny window (say 100 * 100) draw sprites on it (low res) and rotate them.
It would be difficult to see properly because of the smallness of all this, but after, try this:
You make a window 4 times bigger than the original (400*400) but you keep every sprite and what you displayed before in the same resolution. (normally everything that you display will be visible in 1/4th of the screen (top left corner) with the rest black. Ok now create a view, (size 100*100) draw everything on the view, then use a viewport of 1, (that would normally display your sprites on the whole size of the window, (4 times as big as before)
If you don't rotate them, they look fine, but with rotation, you can see that The
resulting sprites != original sprites.
If you don't use the view you get something like the image to the right, but 4 times smaller, if you use the view you get something like the image to the left.
Sorry, i don't know if i can be more detailed...
for the french forum, i just think that it'd be less populated, and people from france won't answer at this time (2am)
That's why i posted here, and i also thought that Laurent Gomila was french ?
Nevertheless, thanks for helping out