resetTransform method

void resetTransform()

Implementation

void resetTransform() {
  Matrix4 m4 = Matrix4.inverted(_matrix);
  _matrix = Matrix4.identity();
  addAction((Canvas canvas, Size size) {
    canvas.transform(m4.storage);
  });
}