Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
This patch allow SWTGraphics2D to access all function of GradientPaint, just as Swing.
2 files including a demo
I've review the code which looks well written.
One thing comes into mind, I recall david wanted to keep the code compatible with SWT 3.2
Is it the case here ? for instance is the 'gc.setBackgroundPattern' method available in 3.2 ?
Sorry, I have not test on SWT 3.2. But according to API document, 'setBackgroundPattern' has been added since 3.1
Finally, I just run it on SWT 3.2 for Windows. And it seems with no problem.