[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame for 2d graphics



try rotozoom instead of scale... scale is like a "nearest neighbor"
scale, so it throws out a lot of pixels. rotozoom is a resampler.

On Wed, Mar 19, 2008 at 5:39 AM, Madhubala <madhubalav@xxxxxxxxxxxxxx> wrote:
>
> s1 = pygame.transform.scale(s,(1000,750))
>
> When i am trying to scale down the original surface to pygame window , the
> rectangle is not visible.
> This is original scalling. I have to provide different scalling levels to
> provide  zooming effect .
>
> What more need to be done to get rectangle visible ?
>