summaryrefslogtreecommitdiff
path: root/include/drawinglayer/primitive2d/textprimitive2d.hxx
diff options
context:
space:
mode:
authorArmin Le Grand (Collabora) <Armin.Le.Grand@me.com>2024-08-15 17:30:23 +0200
committerArmin Le Grand <Armin.Le.Grand@me.com>2024-08-16 14:44:11 +0200
commitcd6529a0501d49e0cd6344523d509fa7186687c9 (patch)
tree5aeb72b40935d11de2bb1bce97e0fe2640cc9266 /include/drawinglayer/primitive2d/textprimitive2d.hxx
parent4f5d694e5840b0b9bda15dc120e8b07d18d4cbd0 (diff)
CairoSDPR: Add support for Relief for Text Rendering
Change-Id: Idcb33e0f799b2219a4e737d0421bc21d85b5c7aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171915 Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com> Tested-by: Jenkins
Diffstat (limited to 'include/drawinglayer/primitive2d/textprimitive2d.hxx')
-rw-r--r--include/drawinglayer/primitive2d/textprimitive2d.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/drawinglayer/primitive2d/textprimitive2d.hxx b/include/drawinglayer/primitive2d/textprimitive2d.hxx
index 44c59ae47828..a71c24732d45 100644
--- a/include/drawinglayer/primitive2d/textprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/textprimitive2d.hxx
@@ -175,6 +175,12 @@ public:
const basegfx::BColor& getFontColor() const { return maFontColor; }
const Color& getTextFillColor() const { return maTextFillColor; }
+ /// helpers for determining various decoration states
+ virtual bool hasTextRelief() const;
+ virtual bool hasShadow() const;
+ virtual bool hasTextDecoration() const;
+ virtual bool hasOutline() const;
+
/// compare operator
virtual bool operator==(const BasePrimitive2D& rPrimitive) const override;