summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
diff options
context:
space:
mode:
authorArmin Le Grand (Collabora) <Armin.Le.Grand@me.com>2024-08-19 14:57:06 +0200
committerArmin Le Grand <Armin.Le.Grand@me.com>2024-08-19 19:51:42 +0200
commitfe27013495d58beedf982414bbd00f6ea577ff81 (patch)
tree149af44e9bb16cafab3f38d5bd0e00b4269c8edc /vcl/source/gdi
parent14599c131345cc8847cdb72cfd6fe9e8239d5d1f (diff)
CairoSDPR: Text render needs MultiSalLayout support
Change-Id: I418675012392a9707dc515eb1e05a2689ec902aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172039 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r--vcl/source/gdi/sallayout.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index 9e2c0b66b9f9..1a63504ecc88 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -1277,4 +1277,12 @@ SalLayoutGlyphs MultiSalLayout::GetGlyphs() const
return glyphs;
}
+void MultiSalLayout::drawSalLayout(void* pSurface, const basegfx::BColor& rTextColor, bool bAntiAliased) const
+{
+ for( int i = mnLevel; --i >= 0; )
+ {
+ Application::GetDefaultDevice()->GetGraphics()->DrawSalLayout(*mpLayouts[ i ], pSurface, rTextColor, bAntiAliased);
+ }
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */