Status: New
Owner: ----
New issue 189 by berthold...@bdaum.de: Provide advanced graphical options
under SWT
http://code.google.com/p/piccolo2d/issues/detail?id=189
Wishlist:
1. Line width
2. Transparency
3. Antialiasing
Although it is possible to add most of these options by subclassing,
it would be nice to offer them out of the box.
For transparency, a change in PSWTGraphics2D (1.3) is necessary, though
(bd1):
public void setTransparency(float transparency) { // bd1
gc.setAlpha((int) (transparency*255f));
}
I have attached the classes ZPSWTCanvas and ZPSWTPath that add options for
linewidth, transparency, and antialiasing
Attachments:
ZPSWTCanvas.java 1.4 KB
ZPSWTPath.java 1.6 KB
--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en