diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-03-15 14:07:01 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-03-15 19:42:45 +0100 |
commit | 673a210b73716cf9ceb7b104b38e39987d0515af (patch) | |
tree | ddf839b9bfe1edcbb6aef7ad148db791fe9f3614 /include/editeng | |
parent | b633ab7a53aec033ba933c4ebc48a4fbe56d6c4b (diff) |
use SalLayoutGlyphsCache in EditEngine/SvxFont (tdf#94677)
Change-Id: I4c7c94c10b9184ad1d3348e7b364748b4e7c34de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131611
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/svxfont.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/editeng/svxfont.hxx b/include/editeng/svxfont.hxx index dffc4101e009..a3db7b2a8936 100644 --- a/include/editeng/svxfont.hxx +++ b/include/editeng/svxfont.hxx @@ -36,6 +36,7 @@ class Printer; class Point; namespace tools { class Rectangle; } class Size; +class SalLayoutGlyphsCache; class EDITENG_DLLPUBLIC SvxFont : public vcl::Font { @@ -96,10 +97,12 @@ public: const sal_Int32 nIdx = 0, const sal_Int32 nLen = SAL_MAX_INT32) const; void QuickDrawText( OutputDevice *pOut, const Point &rPos, const OUString &rTxt, - const sal_Int32 nIdx = 0, const sal_Int32 nLen = SAL_MAX_INT32, o3tl::span<const sal_Int32> pDXArray = {} ) const; + const sal_Int32 nIdx = 0, const sal_Int32 nLen = SAL_MAX_INT32, o3tl::span<const sal_Int32> pDXArray = {}, + SalLayoutGlyphsCache* cache = nullptr ) const; Size QuickGetTextSize( const OutputDevice *pOut, const OUString &rTxt, - const sal_Int32 nIdx, const sal_Int32 nLen, std::vector<sal_Int32>* pDXArray = nullptr ) const; + const sal_Int32 nIdx, const sal_Int32 nLen, std::vector<sal_Int32>* pDXArray = nullptr, + SalLayoutGlyphsCache* cache = nullptr ) const; void DrawPrev( OutputDevice* pOut, Printer* pPrinter, const Point &rPos, const OUString &rTxt, |