calcMatrixForArea method
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);