Generated code is relying on Canvas.getMatrix() calls to get the previous state of the drawing matrix directly from the canvas. It would be better not to call this method, it is marked as obsolete and also allocates a new Matrix instance every time it is called.
Generated code is relying on
Canvas.getMatrix()
calls to get the previous state of the drawing matrix directly from the canvas. It would be better not to call this method, it is marked as obsolete and also allocates a newMatrix
instance every time it is called.