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
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to