[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug awt/27912] New: Graphics2D should support VALUE_ANTIALIAS_OFF
From: |
hendrich at informatik dot uni-hamburg dot de |
Subject: |
[Bug awt/27912] New: Graphics2D should support VALUE_ANTIALIAS_OFF |
Date: |
6 Jun 2006 09:17:37 -0000 |
CairoGraphics2D seems to default to RenderingHits.VALUE_ANTIALIASING_ON, which
admittedly is a good choice for most applications.
However, some applications need to switch anti-aliasing off for correct
behaviour. For example, by circuit simulator uses colors to indicate the
logical level on signal wires (red=one, gray=zero, orange=short-circuit, etc)
and paints onto the BufferedImage used as its double buffer during animations.
With anti-aliasing on, the resulting color of a wire is a mixed-color instead
of the required pure-color, and the result is unuseable (painting a gray line
on top of a red line results in an ugly dark red mess, see attached
screenshot).
At the moment, a call to Graphics2D.setRenderingHints() seems to ignore the
RenderingHints.VALUE_ANTIALIAS_OFF value for the KEY_ANTIALIASING key.
--
Summary: Graphics2D should support VALUE_ANTIALIAS_OFF
Product: classpath
Version: 0.92
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: awt
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hendrich at informatik dot uni-hamburg dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27912
- [Bug awt/27912] New: Graphics2D should support VALUE_ANTIALIAS_OFF,
hendrich at informatik dot uni-hamburg dot de <=