cropSourceRect method

Rect cropSourceRect(
  1. Size sourceSize
)

The crop rect in sourceSize's pixels, for the image the stage shows.

Implementation

Rect cropSourceRect(Size sourceSize) => displayRectToSourceRect(
      cropRect: _stage._crop.value,
      imageDisplayRect: _stage._rect.value,
      sourceSize: sourceSize,
    );