romannurik/AndroidIconAnimator

RenderUtil and Canvas' switch back to push()/pop() instead of shift()

romannurik opened this issue · 2 comments

RenderUtil and Canvas' switch back to push()/pop() instead of shift()

And process matrices in reverse in transformPoint and flatten

Actually nevermind. Unshift is correct. A child's transforms should apply BEFORE its parent's transforms, hence unshift. The array of matrices is in transform order, not multiplication order.