| Summary: | Implement GC#setAntialias and #setTextAntialias | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Holger Staudacher <holger.staudacher> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | austin.riddle, ruediger.herrmann |
| Version: | 1.4 | ||
| Target Milestone: | 1.5 M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Holger Staudacher
There are three antialias modes - SWT.DEFAULT, SWT.OFF, SWT.ON. Implementing GC#setAntialias(int) method as NOP will break it, as SWT.OFF mode will not turn off the antialiasing. There is no problem with GC#getAntialias() to always return SWT.DEFAULT or SWT.ON. I think, for the sake of single-sourcing, we should ignore that fact that antialiasing cannot be turned off. The same applies to GC#setTextAntialias(). Any objections? (In reply to comment #2) > I think, for the sake of single-sourcing, we should ignore that fact that > antialiasing cannot be turned off. The same applies to GC#setTextAntialias(). > Any objections? +1 Introduced get/setAntialias(), get/setTextAntialias() on GC. Changes are in CVS HEAD. |