jolynsbass at hotmail.com
Sat Sep 3 19:56:51 PDT 2005
Speaking of SDL_gfx and in particular, the rotozoom functions....
I was playing with zooming(actually, de-zooming, scaling down) a picture(a
circular button), with the smoothing effect on,and it looked a lot worse
than I expected when it was reduced from about 200x200 pixels to about
20x20pixels. (I reduced the same image file to those proportions in a
seperate grahpics editing program using anti-aliasing, and the results were
much better) When scaling images up, the SMOOTHING_ON effect was good. But
it seemed to make no difference when scaling down, as though the zoom
function only actually used it if scaling a surface into a larger one...
When I resized it in my graphics program(this time turning anti-aliasing
off, to stretch/truncate method) , sure enough, it looked just the same as
the image scaled down by rotozoom. What can I do to implement the
anti-aliasing in rotozoom when I want an image scaled down? Anyone?
Or alternatively, can someone point me to some good code for doing the same
thing? (I only need scaling, not rotation...) Thanks,
----- Original Message -----
From: "Josh Matthews" <mrlachatte at gmail.com>
To: "A list for developers using the SDL library. (includes SDL-announce)"
<sdl at libsdl.org>
Sent: Saturday, September 03, 2005 7:28 PM
Subject: Re: [SDL] SDL_gfx.dll
Ok, thank you very much everyone, and especially Brian. It worked
like a charm :)
On 9/1/05, Joshua Oreman <oremanj at gmail.com> wrote:
> On 8/31/05, Catatonic Porpoise <graue at oceanbase.org> wrote:
> > Joshua Oreman wrote:
> >> [ . . . ]
> > Where is this SDL_gfx.h file? SDL_gfx 2.0.13 has no file by that name.
> > Furthermore, grepping the entire source for DLLSPEC didn't turn up
> > anything.
> Oops. That's what happens when I try to give fixes from memory :-)
> It's in all the headers, but the one I was referring to was
> SDL_gfxPrimitives.h. And it's DLLINTERFACE. Sorry about that.
> -- Josh
> > (I have been having the same "_imp__" problem as the original poster.)
> > _______________________________________________
> > SDL mailing list
> > SDL at libsdl.org
> > http://www.libsdl.org/mailman/listinfo/sdl
> SDL mailing list
> SDL at libsdl.org
SDL mailing list
SDL at libsdl.org
More information about the SDL