toHitTestMatrix method

Matrix4 toHitTestMatrix ()

Provides the transformation matrix that converts coordinates in the test coordinate space to coordinates in logical pixels on the real display.

This is essentially the same as toMatrix but ignoring the device pixel ratio.

This is useful because pointers are described in logical pixels, as opposed to graphics which are expressed in physical pixels.

Implementation

Matrix4 toHitTestMatrix() => _hitTestMatrix.clone();