LibreOffice Module vcl (master)
1
vcl
inc
skia
x11
skia/x11/textrender.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#ifndef INCLUDED_VCL_INC_SKIA_TEXTRENDER_HXX
21
#define INCLUDED_VCL_INC_SKIA_TEXTRENDER_HXX
22
23
#include <
unx/freetypetextrender.hxx
>
24
25
#include <SkFontMgr.h>
26
#include <SkFontMgr_fontconfig.h>
27
28
class
VCL_DLLPUBLIC
SkiaTextRender
final :
public
FreeTypeTextRenderImpl
29
{
30
public
:
31
virtual
void
DrawTextLayout
(
const
GenericSalLayout
&,
const
SalGraphics
&)
override
;
32
virtual
void
ClearDevFontCache
()
override
;
33
34
private
:
35
static
inline
sk_sp<SkFontMgr>
fontManager
;
36
};
37
38
#endif
39
40
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
FreeTypeTextRenderImpl
Definition:
freetypetextrender.hxx:31
GenericSalLayout
Definition:
sallayout.hxx:102
SalGraphics
Definition:
salgdi.hxx:76
SkiaTextRender
Definition:
skia/x11/textrender.hxx:29
SkiaTextRender::ClearDevFontCache
virtual void ClearDevFontCache() override
SkiaTextRender::DrawTextLayout
virtual void DrawTextLayout(const GenericSalLayout &, const SalGraphics &) override
SkiaTextRender::fontManager
static sk_sp< SkFontMgr > fontManager
Definition:
skia/x11/textrender.hxx:35
VCL_DLLPUBLIC
#define VCL_DLLPUBLIC
Definition:
dllapi.h:29
freetypetextrender.hxx
Generated on Sun Jul 30 2023 04:35:01 for LibreOffice Module vcl (master) by
1.9.3