SDPR: Add support for InvertPrimitive2D

Desktop / LibreOffice - Armin Le Grand (Allotropia) [me.com] - 18 January 2023 15:03 UTC

We urgently should get rid of XOR paint, modern graphic systems allow no read access to the pixel targets, but that's naturally a precondition for XOR. While we can do that for the office's
visualization, we can in principle *not* fully avoid getting stuff that needs/defines XOR paint, e.g. EMF/WMF imports, so we *have* to support it (for now - sigh)...

This makes this renderer complete from the minimal to-be-supported primitives, too.

Change-Id: Ie8fa98b777de764af0babe969296a671ca5cc7ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145739

53d927cd674d SDPR: Add support for InvertPrimitive2D
.../source/processor2d/d2dpixelprocessor2d.cxx | 125 +++++++++++++++++++--
.../processor2d/d2dpixelprocessor2d.hxx | 2 +
2 files changed, 115 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share