[Libreoffice-commits] core.git: vcl/inc

Jan-Marek Glogowski glogow at fbihome.de
Mon Nov 23 11:42:16 PST 2015


 vcl/inc/headless/svpcairotextrender.hxx |   34 ++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

New commits:
commit 54336499a8bc5fbee2891f0b50f3183d8b83d165
Author: Jan-Marek Glogowski <glogow at fbihome.de>
Date:   Mon Nov 23 20:26:24 2015 +0100

    Restore deleted svpcairotextrender.hxx
    
    Probably 0c75202ad20d3dc1f0a2a68375253d547f054405 just wanted to
    move the file to vcl/inc/headless.
    
    Change-Id: I8a11a24c272fa9cacb1505050e2c568aeb6fd4b2

diff --git a/vcl/inc/headless/svpcairotextrender.hxx b/vcl/inc/headless/svpcairotextrender.hxx
new file mode 100644
index 0000000..1a0a1ec
--- /dev/null
+++ b/vcl/inc/headless/svpcairotextrender.hxx
@@ -0,0 +1,34 @@
+/* -*- 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_UNX_GTK3_GDI_GTK3CAIROTEXTRENDER_HXX
+#define INCLUDED_VCL_UNX_GTK3_GDI_GTK3CAIROTEXTRENDER_HXX
+
+#include "cairotextrender.hxx"
+
+class SvpSalGraphics;
+
+class SvpCairoTextRender : public CairoTextRender
+{
+protected:
+    SvpSalGraphics& mrParent;
+
+public:
+    explicit SvpCairoTextRender(SvpSalGraphics& rParent);
+
+    virtual GlyphCache& getPlatformGlyphCache() override;
+    virtual cairo_t* getCairoContext() override;
+    virtual void getSurfaceOffset(double& nDX, double& nDY) override;
+    virtual void clipRegion(cairo_t* cr) override;
+    virtual void drawSurface(cairo_t* cr) override;
+};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list