Searched refs:yBound (Results 1 – 3 of 3) sorted by relevance
441 float yBound = (float) height / texHeight; in convertCoordinate() local442 if (source.bottom > yBound) { in convertCoordinate()444 (yBound - source.top) / source.height(); in convertCoordinate()445 source.bottom = yBound; in convertCoordinate()
660 float yBound = (float) height / texHeight; in convertCoordinate() local661 if (source.bottom > yBound) { in convertCoordinate()662 target.bottom = target.top + target.height() * (yBound - source.top) / source.height(); in convertCoordinate()663 source.bottom = yBound; in convertCoordinate()
658 float yBound = (float) height / texHeight; in convertCoordinate() local659 if (source.bottom > yBound) { in convertCoordinate()660 target.bottom = target.top + target.height() * (yBound - source.top) / source.height(); in convertCoordinate()661 source.bottom = yBound; in convertCoordinate()