Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfpf_skiafont.h
Go to the documentation of this file.
1
// Copyright 2016 The PDFium Authors
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7
#
ifndef
CORE_FXGE_ANDROID_CFPF_SKIAFONT_H_
8
#
define
CORE_FXGE_ANDROID_CFPF_SKIAFONT_H_
9
10
#
include
<
stdint
.
h
>
11
12
#
include
"core/fxcrt/bytestring.h"
13
#
include
"core/fxcrt/fx_codepage_forward.h"
14
#
include
"core/fxcrt/retain_ptr.h"
15
#
include
"core/fxcrt/unowned_ptr.h"
16
#
include
"core/fxge/cfx_face.h"
17
#
include
"third_party/base/containers/span.h"
18
19
class
CFPF_SkiaFontMgr
;
20
class
CFPF_SkiaPathFont
;
21
22
class
CFPF_SkiaFont
{
23
public
:
24
CFPF_SkiaFont
(
CFPF_SkiaFontMgr
* pFontMgr,
25
const
CFPF_SkiaPathFont
* pFont,
26
FX_Charset
uCharset);
27
~
CFPF_SkiaFont
();
28
29
bool
IsValid
()
const
{
return
!!m_Face; }
30
31
ByteString
GetFamilyName
();
32
FX_Charset
GetCharset
()
const
{
return
m_uCharset; }
33
uint32_t
GetFontData
(uint32_t dwTable, pdfium::span<uint8_t> pBuffer);
34
35
private
:
36
UnownedPtr
<
CFPF_SkiaFontMgr
>
const
m_pFontMgr;
37
UnownedPtr
<
const
CFPF_SkiaPathFont
>
const
m_pFont;
38
RetainPtr
<CFX_Face>
const
m_Face;
39
const
FX_Charset
m_uCharset;
40
};
41
42
#
endif
// CORE_FXGE_ANDROID_CFPF_SKIAFONT_H_
CFPF_SkiaFontMgr
Definition
cfpf_skiafontmgr.h:23
CFPF_SkiaFont
Definition
cfpf_skiafont.h:22
CFPF_SkiaFont::GetCharset
FX_Charset GetCharset() const
Definition
cfpf_skiafont.h:32
CFPF_SkiaFont::IsValid
bool IsValid() const
Definition
cfpf_skiafont.h:29
CFPF_SkiaFont::GetFamilyName
ByteString GetFamilyName()
Definition
cfpf_skiafont.cpp:29
CFPF_SkiaFont::CFPF_SkiaFont
CFPF_SkiaFont(CFPF_SkiaFontMgr *pFontMgr, const CFPF_SkiaPathFont *pFont, FX_Charset uCharset)
Definition
cfpf_skiafont.cpp:19
CFPF_SkiaFont::~CFPF_SkiaFont
~CFPF_SkiaFont()
CFPF_SkiaFont::GetFontData
uint32_t GetFontData(uint32_t dwTable, pdfium::span< uint8_t > pBuffer)
Definition
cfpf_skiafont.cpp:35
CFPF_SkiaPathFont
Definition
cfpf_skiapathfont.h:14
fxcrt::ByteString::ByteString
ByteString()
fxcrt::RetainPtr
Definition
retain_ptr.h:29
fxcrt::UnownedPtr
Definition
unowned_ptr.h:75
FX_Charset
FX_Charset
Definition
fx_codepage.h:70
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fxge
android
cfpf_skiafont.h
Generated on Sat Sep 21 2024 00:55:58 for Qt by
1.12.0