translateXtoX method

double translateXtoX(
  1. double translateX
)

translateX转化为view中的x

Implementation

double translateXtoX(double translateX) =>
    (translateX + mTranslateX) * scaleX;