Searched refs:xBound (Results 1 – 3 of 3) sorted by relevance
389 float xBound = (float) width / texWidth; in convertCoordinate() local390 if (source.right > xBound) { in convertCoordinate()391 target.right = target.left + target.width() * (xBound - source.left) / source.width(); in convertCoordinate()392 source.right = xBound; in convertCoordinate()
433 float xBound = (float) width / texWidth; in convertCoordinate() local434 if (source.right > xBound) { in convertCoordinate()436 (xBound - source.left) / source.width(); in convertCoordinate()437 source.right = xBound; in convertCoordinate()
655 float xBound = (float) width / texWidth; in convertCoordinate() local656 if (source.right > xBound) { in convertCoordinate()657 target.right = target.left + target.width() * (xBound - source.left) / source.width(); in convertCoordinate()658 source.right = xBound; in convertCoordinate()