calcMatrixForArea method

Matrix4 calcMatrixForArea({
  1. required Rect rect,
  2. PdfPageAnchor? anchor,
})

Calculate the matrix for the specified area.

rect specifies the area in document coordinates. anchor specifies how the page is positioned if the page is larger than the view.

Implementation

Matrix4 calcMatrixForArea({
  required Rect rect,
  PdfPageAnchor? anchor,
}) =>
    _state._calcMatrixForArea(rect: rect, anchor: anchor);