Searched refs:newImageHeight (Results 1 – 1 of 1) sorted by relevance
105 int newImageHeight; in drawScaledImage() local108 newImageHeight = imageHeight; in drawScaledImage()119 newImageHeight = (int) (imageHeight * k); in drawScaledImage()123 int destY = targetRectangle.y + (targetRectangle.height - newImageHeight) / 2; in drawScaledImage()124 gc.drawImage(image, 0, 0, imageWidth, imageHeight, destX, destY, newImageWidth, newImageHeight); in drawScaledImage()