summaryrefslogtreecommitdiff
path: root/include/drawinglayer
diff options
context:
space:
mode:
authorArmin Le Grand (Collabora) <Armin.Le.Grand@me.com>2024-08-15 11:29:28 +0200
committerArmin Le Grand <Armin.Le.Grand@me.com>2024-08-15 16:05:41 +0200
commit6ab0c616d72f224c5de87b8afd2b228c223bb056 (patch)
tree7529792586e21cf6cb6bb63fe2aae4ac39ff43dc /include/drawinglayer
parent0e4266dd904ffb79c84f6b281bd822460cc64fde (diff)
CairoSDPR: Add outline to direct text rendering
Change-Id: I8c8820066a402653bf0f49bd78a98be692530e42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171892 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'include/drawinglayer')
-rw-r--r--include/drawinglayer/processor2d/cairopixelprocessor2d.hxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/drawinglayer/processor2d/cairopixelprocessor2d.hxx b/include/drawinglayer/processor2d/cairopixelprocessor2d.hxx
index 5edf5716212b..56281bd0cd32 100644
--- a/include/drawinglayer/processor2d/cairopixelprocessor2d.hxx
+++ b/include/drawinglayer/processor2d/cairopixelprocessor2d.hxx
@@ -131,14 +131,12 @@ class UNLESS_MERGELIBS(DRAWINGLAYER_DLLPUBLIC) CairoPixelProcessor2D final : pub
const basegfx::B2DHomMatrix& rTransform, double fTextWidth);
void renderSalLayout(const std::unique_ptr<SalLayout>& rSalLayout,
const basegfx::BColor& rTextColor, const basegfx::B2DHomMatrix& rTransform,
- bool bAntiAliase);
- void renderShadowTextDecoration(
- const basegfx::BColor& rShadowColor, const basegfx::B2DHomMatrix& rShadowObjectTransform,
+ bool bAntiAliase) const;
+ void renderTextDecorationWithOptionalTransformAndColor(
const primitive2d::TextDecoratedPortionPrimitive2D& rDecoratedCandidate,
- const basegfx::utils::B2DHomMatrixBufferedOnDemandDecompose& rDecTrans);
- void
- renderTextDecoration(const primitive2d::TextDecoratedPortionPrimitive2D& rDecoratedCandidate,
- const basegfx::utils::B2DHomMatrixBufferedOnDemandDecompose& rDecTrans);
+ const basegfx::utils::B2DHomMatrixBufferedOnDemandDecompose& rDecTrans,
+ const basegfx::B2DHomMatrix* pOptionalObjectTransform = nullptr,
+ const basegfx::BColor* pReplacementColor = nullptr);
/* the local processor for BasePrimitive2D-Implementation based primitives,
called from the common process()-implementation