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 Stefan,

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.

What kind of functionality do you need that SWT doesn't provide?
Pattern brush from image sub-rectangle or something else?

-- 
Best regards,
Nikita Nemkin


Back to the top