translateX is converted to X in view
double translateXtoX(double translateX) => (translateX + mTranslateX) * scaleX;