From 8ceff95c69cf9bd9ff5ab3a4b5689925b8bd6a59 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 7 Jun 2024 13:47:06 +0200 Subject: Merging upstream version 4:24.2.4. Signed-off-by: Daniel Baumann --- svgio/inc/svgstyleattributes.hxx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'svgio/inc/svgstyleattributes.hxx') diff --git a/svgio/inc/svgstyleattributes.hxx b/svgio/inc/svgstyleattributes.hxx index c5c095462f..30cbab9656 100644 --- a/svgio/inc/svgstyleattributes.hxx +++ b/svgio/inc/svgstyleattributes.hxx @@ -247,10 +247,19 @@ namespace svgio::svgreader // #121221# Defines if evtl. an empty array *is* set bool mbStrokeDasharraySet : 1; + // tdf#155651 Defines if 'context-fill' is used in fill + bool mbContextFill : 1; + + // tdf#155651 Defines if 'context-stroke' is used in stroke + bool mbContextStroke : 1; + // tdf#94765 Check id references in gradient/pattern getters OUString maNodeFillURL; OUString maNodeStrokeURL; + const basegfx::BColor* maContextFill; + const basegfx::BColor* maContextStroke; + /// internal helpers void add_fillGradient( const basegfx::B2DPolyPolygon& rPath, @@ -327,6 +336,12 @@ namespace svgio::svgreader /// stroke content const basegfx::BColor* getStroke() const; + /// context fill content + const basegfx::BColor* getContextFill() const; + + /// context stroke content + const basegfx::BColor* getContextStroke() const; + /// stop color content const basegfx::BColor& getStopColor() const; -- cgit v1.2.3