Searched refs:newViewMatrix (Results 1 – 1 of 1) sorted by relevance
318 const SkMatrix& newViewMatrix, SkScalar newX, SkScalar newY, in calculate_translation() argument322 *transX = newViewMatrix.getTranslateX() + in calculate_translation()323 newViewMatrix.getScaleX() * (newX - currentX) + in calculate_translation()324 newViewMatrix.getSkewX() * (newY - currentY) - in calculate_translation()327 *transY = newViewMatrix.getTranslateY() + in calculate_translation()328 newViewMatrix.getSkewY() * (newX - currentX) + in calculate_translation()329 newViewMatrix.getScaleY() * (newY - currentY) - in calculate_translation()