Now we use transformation matrix, no more setScale, setXY, setRotation.