From 6b64067f0b9e77545cb3772f08d45358cd0318ff Mon Sep 17 00:00:00 2001 From: fruchti Date: Sun, 18 Dec 2022 12:48:57 +0100 Subject: [PATCH] =?UTF-8?q?SVG:=20Use=20=E2=80=98multiply=E2=80=99=20blend?= =?UTF-8?q?=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/plot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plot.py b/lib/plot.py index 5ee70c5..f1808a3 100644 --- a/lib/plot.py +++ b/lib/plot.py @@ -179,6 +179,7 @@ class SVGPlotter(Plotter): self.context.scale(dpi / 25.4, dpi / 25.4) self.context.set_line_cap(cairo.LINE_CAP_ROUND) self.context.set_line_join(cairo.LINE_JOIN_ROUND) + self.context.set_operator(cairo.OPERATOR_MULTIPLY) super().__init__(paper, line_width, colour)