summaryrefslogtreecommitdiff
path: root/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/inc/svgio/svgreader/svgstyleattributes.hxx')
-rw-r--r--svgio/inc/svgio/svgreader/svgstyleattributes.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
index 693772b31501..ac3fbf8cad3a 100644
--- a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
+++ b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
@@ -406,6 +406,9 @@ namespace svgio
const basegfx::BColor* getColor() const;
void setColor(const SvgPaint& rColor) { maColor = rColor; }
+ /// Resolve current color (defaults to black if no color is specified)
+ const basegfx::BColor* getCurrentColor() const;
+
/// Opacity content
SvgNumber getOpacity() const { return maOpacity; }
void setOpacity(const SvgNumber& rOpacity = SvgNumber()) { maOpacity = rOpacity; }