xToTranslateX method

double xToTranslateX(
  1. double x
)

Implementation

double xToTranslateX(double x) => -mTranslateX + x / scaleX;