Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] SWT: Calling Windows GDI+ function that requires a parameter passed by reference

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

Attachment: transparent-texturebrush.png
Description: PNG image


Back to the top