Searched refs:ratio_h (Results 1 – 1 of 1) sorted by relevance
1641 const double ratio_h = static_cast<double>(mHeight) / mInitHeight; in playAnimation() local1643 const int animationY = (mHeight - animation.height * ratio_h) / 2; in playAnimation()1662 const int trimHeight = frame.trimHeight * ratio_h; in playAnimation()1664 const int trimY = frame.trimY * ratio_h; in playAnimation()