A function signature for converting screen coordinates to world coordinates.
typedef ScreenToWorld = Offset Function(double px, double py);