Page 1 of 1
BlitRotated?

Posted:
Jun 3, 2003 @ 10:15pm
by Fire Elemental
I don't know if I'm correct or not, but this is what I noticed. The BlitRotated function seems to draw the Surface using (x, y) as the center point. Maybe it's just me, but this is sort of inconsistant with the other Blit's that draw from the top left corner. I think it would be better if BlitRotated were to also draw from top left. Saves me from having to use a few offsetting calculations :P

Posted:
Jun 4, 2003 @ 8:08pm
by bob

Posted:
Jun 4, 2003 @ 8:10pm
by bob

Posted:
Jun 5, 2003 @ 8:55am
by Johan

Posted:
Jun 10, 2003 @ 4:50am
by Guest

Posted:
Jun 10, 2003 @ 5:44am
by fzammetti
I'm pretty sure it's just a matter of modifying the transformation matrix. I seem to recall that was the suggestion for doing a combined rotate and scale, I would assume the same holds true in this case as well. I have to be honest though, I'm not sure I know enough at this point to make such a change (my math ain't so hot to put it bluntly), so if anyone else wants to take a crack at it, I'll be happy to integrate your changes in the next release.

Posted:
Jun 11, 2003 @ 1:11am
by adde

Posted:
Jun 11, 2003 @ 3:26am
by fzammetti

Posted:
Jun 12, 2003 @ 8:34am
by Guest

Posted:
Jun 12, 2003 @ 4:09pm
by HTK
it was me... the double anon combo