summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/gdi/x11cairotextrender.hxx
blob: b029702ff577b5257cbc546ee176515f5f27130a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* -*- 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/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef INCLUDED_VCL_UNX_GENERIC_GDI_X11CAIROTEXTRENDER_HXX
#define INCLUDED_VCL_UNX_GENERIC_GDI_X11CAIROTEXTRENDER_HXX value

#include "cairotextrender.hxx"

#include "unx/saldata.hxx"
#include "unx/saldisp.hxx"

#include "unx/salgdi.h"

class X11CairoTextRender : public CairoTextRender
{
protected:
    X11SalGraphics& mrParent;

protected:
    size_t GetWidth() const;
    size_t GetHeight() const;

public:
    X11CairoTextRender(X11SalGraphics& rParent);

    virtual GlyphCache& getPlatformGlyphCache() SAL_OVERRIDE;
    virtual cairo_t* getCairoContext() SAL_OVERRIDE;
    virtual void getSurfaceOffset(double& nDX, double& nDY) SAL_OVERRIDE;
    virtual void clipRegion(cairo_t* cr) SAL_OVERRIDE;
    virtual void drawSurface(cairo_t* cr) SAL_OVERRIDE;
};

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
;id=31a953c7edb22f5fac1e81d92db24e1915b9b317'>Related tdf#132398 - Update .ico files - Dec 2022galjit 2022-12-06Resolves tdf#132398 - New hicolor/macOS iconsgaljit 2022-10-23macOS: add XCode and SDK buildversions to Info.plistChristian Lohmaier 2022-09-26Related tdf#132398 - Remove Hicolor Assets for Future Revampinggaljit 2022-09-14tdf#149990 Remove unwarranted, unlocalizable term from main launcherAdolfo Jayme Barrientos 2022-09-14Related tdf#132398 - Remove locolor iconsgaljit 2022-09-12Add new iWork mimetypes to .desktop filesSamuel Mehrbrodt 2022-06-29tdf#126961 fix access to the macOS address bookChristian Lohmaier 2022-05-23tdf#140215 Improve the Comment strings in .desktop filesIlmari Lauhakangas 2022-01-23change rpm compression algorithm to multi threaded xzAndras Timar 2021-10-12uses of icon_filename are goneCaolán McNamara 2021-10-12document-new shouldn't get prefixed to become libreoffice-document-newCaolán McNamara 2021-08-20Make some scripts more portableIlmari Lauhakangas 2021-07-07tdf#133368: update extensions website URLs and use httpsStéphane Guillou 2021-06-28Add URI handlers for MS Office URI Schemes on Linux/macOSSamuel Mehrbrodt 2021-06-28Tabs to spacesSamuel Mehrbrodt 2021-06-24Handle fancy webdav URI schemes on all platformsThorsten Behrens 2021-06-11math.desktop include "Spreadsheet" categoryCaolán McNamara 2021-04-29apparmor: Fix "oopslash" typoRico Tzschichholz 2021-04-07Updated README.md files to represent current code / use Markdown formatHossein 2021-03-24Using .md extension/Markdown syntax for modules READMEHossein