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.
Log in to post a comment.