diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-04-24 16:58:09 +0000 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-05-04 21:46:46 +0200 |
commit | 16ab4c5cc82829927c2e876af7e511c0f1fb6284 (patch) | |
tree | 05b6f44a2c441bec31f23c7cd8654b99685c5b13 /vcl/inc/skia/x11 | |
parent | 603df08a1e0211099ce2cf258cfe64a74ed6ded9 (diff) |
remove old Skia text render methods that do not use Skia directly
The cairo-based method on Unix and manual glyph handling way taken
from GL on Windows should be longer be needed, now that using Skia
itself for text rendering seems to work fine.
This reverts more or less reverts the following commits:
b1d3ef798a89d11b853c467fa9ce0fe6ed235735
5ac9a62f3a354db80837bdd1c95b763989b303bb
619959827003814053a5e9ec81acfd07b3aa270a
6f5c85daa0e5073d87d1d7699bfa59af159686ca
ad3580df085b3a3d66eb73cae997ea5ca178ccc1
f109a1ac6fdf0c878d53dfea6fceffd93248608f
59205c742c43b4c456b69c3fd94e7fa35ff3eec0
Change-Id: Ib28b2469c7d6471c227bb2aa08d5485bb24c2fe1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93428
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/inc/skia/x11')
-rw-r--r-- | vcl/inc/skia/x11/cairotextrender.hxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/vcl/inc/skia/x11/cairotextrender.hxx b/vcl/inc/skia/x11/cairotextrender.hxx deleted file mode 100644 index 947657a499cd..000000000000 --- a/vcl/inc/skia/x11/cairotextrender.hxx +++ /dev/null @@ -1,27 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -#ifndef INCLUDED_VCL_SKIA_X11_CAIROTEXTRENDER_HXX -#define INCLUDED_VCL_SKIA_X11_CAIROTEXTRENDER_HXX - -#include <unx/x11/x11cairotextrender.hxx> - -class SkiaX11CairoTextRender final : public X11CairoTextRender -{ -public: - explicit SkiaX11CairoTextRender(X11SalGraphics& rParent); - - virtual cairo_t* getCairoContext() override; - virtual void getSurfaceOffset(double& nDX, double& nDY) override; - virtual void releaseCairoContext(cairo_t* cr) override; -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |