localToGlobalPoint method

PdfPoint localToGlobalPoint(
  1. PdfPoint point
)

Implementation

PdfPoint localToGlobalPoint(PdfPoint point) {
  final mat = canvas.getTransform();
  final xy = mat.transform3(Vector3(point.x, point.y, 0));
  return PdfPoint(xy.x, xy.y);
}