summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-08-21 14:32:11 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-08-21 20:45:11 +0200
commit2ffed6f2d4936091285190d9d8b7f1141444f12e (patch)
treebc6b4ddd09dc8e3539f8d9d0ca7569c567b5d4ae /include
parent8fa209ce2e800dc8a51e941cd42a65fa8b2eb14b (diff)
split to allow getting decoration on its own
Change-Id: Ib65750245906de0852c39e4a4bdaa85a2f822282 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155899 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
index 73663ff95d32..a854a8833713 100644
--- a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
@@ -112,6 +112,14 @@ namespace drawinglayer::primitive2d
bool getEmphasisMarkBelow() const { return mbEmphasisMarkBelow; }
bool getShadow() const { return mbShadow; }
+ void CreateDecorationGeometryContent(
+ Primitive2DContainer& rTarget,
+ basegfx::utils::B2DHomMatrixBufferedOnDemandDecompose const & rDecTrans,
+ const OUString& rText,
+ sal_Int32 nTextPosition,
+ sal_Int32 nTextLength,
+ const std::vector< double >& rDXArray) const;
+
/// compare operator
virtual bool operator==( const BasePrimitive2D& rPrimitive ) const override;