Searched refs:newImageWidth (Results 1 – 1 of 1) sorted by relevance
104 int newImageWidth; in drawScaledImage() local107 newImageWidth = imageWidth; in drawScaledImage()118 newImageWidth = (int) (imageWidth * k); in drawScaledImage()122 int destX = targetRectangle.x + (targetRectangle.width - newImageWidth) / 2; in drawScaledImage()124 gc.drawImage(image, 0, 0, imageWidth, imageHeight, destX, destY, newImageWidth, newImageHeight); in drawScaledImage()