The new drawImage method has been introduced in eclipse-platform/eclipse.platform.swt#2548 that allows drawing the full image into a specified destination rectangle without requiring source bounds.
Previously, consumers needed to call image.getBounds() to determine the image dimensions and use this in the drawImage() call for drawing. The consumers drawing the image fully could adapt the new API and not call getBounds to get the image size.