transformWorldToScreen method

Offset transformWorldToScreen(
  1. double x,
  2. double y
)

Implementation

Offset transformWorldToScreen(double x, double y) => Offset(
      currentOrigin.dx + x * currentScale,
      currentOrigin.dy - y * currentScale,
    );