Add ImageDrawingProvider interface for Images #143
Labels
Enhancement
A Request for an Enhancement of an Existing Feature
HiDPI
A HiDPI-Related Issue or Feature
SWT
Issue for SWT
Milestone
Currently some custom-drawing image scenarios (e.g. in CTabFolder) are solved via ImageDataProvider. Problem with that is, that in the provider another image is created to draw the image and retrieve the ImageData. As there is no way in the current API to pass the zoom from getImageData() into a new image, this use case should be convered by another interface. This interface will look like
the GC that is passed to the method will be preconfigured with the correct zoom.
The implementation must be done for the win32, gtk and cocoa implementation. Most of the code should be added to the common package, but the Image implementation must be provided for all three variants
The text was updated successfully, but these errors were encountered: