I am reading SVG
Essentials, at chapter 6, it talk about the rotate transform. It says
rotate(angle, centerX, centerY) is equal to translate(centerX, centerY) rotate(angle) translate(-centerX, -centerY)
But What I learn before to calc this problem is first make point A(x,y) to A(x - centerX, y - centerY), then rotate, then add centerX, centerY back.
Like this answer says.
I try to review some linear algebra knowledge but still can't figure what's the different.
Can any one tell me the why this happen?
Kindly guide me why svg
add-rotate-sub and normal is sub-rotate-add?
Thank you in advance.