applyTransform method

Point applyTransform(
  1. double x,
  2. double y
)

Applies scale and translation to raw projected coordinates.

Implementation

Point applyTransform(double x, double y) {
  return Point(
    x * _scale + _translate.x,
    y * _scale + _translate.y,
  );
}