#10007: OP_INVERT and anti-aliasing don't play together
----------------------------------+----------------------------
Reporter: Pete | Owner: stippi
Type: bug | Status: assigned
Priority: normal | Milestone: R1
Component: Kits/Interface Kit | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------+----------------------------
Comment (by pulkomandy):
Yes, of course we won't disable antialiasing for normal drawing. Some of
the other modes may need similar changes, however.
For reference, the B_OP_INVERT implementation is at http://cgit.haiku-
os.org/haiku/tree/src/servers/app/drawing/Painter/drawing_modes/DrawingModeInvert.h
and http://cgit.haiku-
os.org/haiku/tree/src/servers/app/drawing/Painter/drawing_modes/DrawingModeInvertSUBPIX.h
(for B_SUBPIXEL_PRECISE views).
It looks like removing the calls to BLEND_INVERT could work.
Alternatively, we could tweak that function so that its operation is
reversible, so we can get antialiasing without leaving artifacts on the
background.
--
Ticket URL: <https://dev.haiku-os.org/ticket/10007#comment:5>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.