summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-08-15 14:41:28 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-15 18:59:14 +0200
commit9aee1dd5c7a4799fa02f0f64e6f733029c47a21a (patch)
treea16ff250a5cffb183476c78b30fd0451f84f7d15 /include
parentf24b0ec13c5c8edda5ffb1336b0eb6da173dfc97 (diff)
vcl: allow using pre-calculated layout in OutputDevice::DrawTextArray()
I plan to use this in SwFntObj::DrawText(). Change-Id: Ic5e167d90a7e72452d8efa9fad06b8067675a225 Reviewed-on: https://gerrit.libreoffice.org/59108 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/outdev.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index e414121d4dcd..471d9a39fa0e 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1149,7 +1149,9 @@ public:
const long* pDXAry,
sal_Int32 nIndex = 0,
sal_Int32 nLen = -1,
- SalLayoutFlags flags = SalLayoutFlags::NONE);
+ SalLayoutFlags flags = SalLayoutFlags::NONE,
+ vcl::TextLayoutCache const* = nullptr,
+ SalLayout* pLayoutCache = nullptr);
long GetTextArray( const OUString& rStr, long* pDXAry,
sal_Int32 nIndex = 0, sal_Int32 nLen = -1,
vcl::TextLayoutCache const* = nullptr,