Page 1 of 1

Applying rotation before scaling

Posted: Thu Oct 27, 2016 9:24 am
by emanevitaerc
Is it possible to apply rotation to an image before scaling it? As far as I can tell,

Code: Select all

love.graphics.draw()
seems to apply effects in a rigid order, always scaling the image before rotating it. I want to draw an image the other way around; rotating it and then scaling. Is there any way to accomplish this?

Re: Applying rotation before scaling

Posted: Thu Oct 27, 2016 9:54 am
by s-ol
emanevitaerc wrote:Is it possible to apply rotation to an image before scaling it? As far as I can tell,

Code: Select all

love.graphics.draw()
seems to apply effects in a rigid order, always scaling the image before rotating it. I want to draw an image the other way around; rotating it and then scaling. Is there any way to accomplish this?
https://love2d.org/wiki/love.graphics#Coordinate_System

Re: Applying rotation before scaling

Posted: Thu Oct 27, 2016 11:07 am
by emanevitaerc