Hi Nikita, Am 23.02.2021 um 13:34 schrieb Nikita Nemkin:
You should use org.eclipse.swt.internal.gdip.Rect type for the rect parameter and flags=struct to pass it by value. See Gdip.Graphics_SetClip(long, Rect, int) definition for an example.
thanks für the hint! I'll try that.
What kind of functionality do you need that SWT doesn't provide? Pattern brush from image sub-rectangle or something else?
I am working on supporting alpha transparency for patterns (see attachment): https://bugs.eclipse.org/bugs/show_bug.cgi?id=121220 Stefan
_______________________________________________ platform-dev mailing list platform-dev@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev