A function signature for converting world coordinates to screen coordinates.
typedef WorldToScreen = Offset Function(double x, double y);