diff --git a/binaries/org.eclipse.swt.win32.win32.x86_64/.settings/.api_filters b/binaries/org.eclipse.swt.win32.win32.x86_64/.settings/.api_filters index 4b40d0e459f..5d0ce47678f 100644 --- a/binaries/org.eclipse.swt.win32.win32.x86_64/.settings/.api_filters +++ b/binaries/org.eclipse.swt.win32.win32.x86_64/.settings/.api_filters @@ -581,6 +581,14 @@ + + + + + + + + diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageGcDrawer.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageGcDrawer.java index 0400a0c2fd4..9f02ff20767 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageGcDrawer.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageGcDrawer.java @@ -13,6 +13,8 @@ *******************************************************************************/ package org.eclipse.swt.graphics; +import org.eclipse.swt.*; + /** * Interface to provide a callback mechanism to draw on different GC instances * depending on the zoom the image will be used for. A common use case is when @@ -45,4 +47,15 @@ public interface ImageGcDrawer { default void postProcess(ImageData imageData) { } + /** + * Returns the GC style used when creating the GC instance. + * Default implementation returns SWT.NONE. + * + * @return the GC style constant + * + * @since 3.130 + */ + default int getGcStyle() { + return SWT.NONE; + } }