SDL_RotoZoom questions

SDL_RotoZoom questions…

Hi,

I love RotoZoom BMP scaling and rotation.

The only problem is that the newly scaled/rotated BMP is not centered
properly.

Anyone have and suggestions to center the new BMP created by RotoZoom ???

Jesse
SLNTHERO at AOL.com (mailto:SLNTHERO at AOL.com)

Hello !

I love RotoZoom BMP scaling and rotation.

The only problem is that the newly scaled/rotated BMP is not centered
properly.

Anyone have and suggestions to center the new BMP created by RotoZoom
???

A way to solve this would be using the
centerpoint of each surface in your engine.

This means not storing the upper left coords of
your sprites, but using the coord that is the center
of your sprite.

CU

Hello !

The only problem is that the newly scaled/rotated BMP is not centered
properly.

The test example that comes with rotozoom,
looks perfectly centered for me.

CU