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
cfx_stockfontarray.h
Go to the documentation of this file.
1
// Copyright 2017 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_FPDFAPI_FONT_CFX_STOCKFONTARRAY_H_
8
#
define
CORE_FPDFAPI_FONT_CFX_STOCKFONTARRAY_H_
9
10
#
include
"core/fxcrt/retain_ptr.h"
11
#
include
"core/fxge/cfx_fontmapper.h"
12
13
class
CPDF_Font
;
14
15
class
CFX_StockFontArray
{
16
public
:
17
CFX_StockFontArray
();
18
~
CFX_StockFontArray
();
19
20
RetainPtr
<
CPDF_Font
>
GetFont
(
CFX_FontMapper
::
StandardFont
index)
const
;
21
void
SetFont
(
CFX_FontMapper
::
StandardFont
index,
RetainPtr
<
CPDF_Font
> pFont);
22
23
private
:
24
RetainPtr
<
CPDF_Font
> m_StockFonts[14];
25
};
26
27
#
endif
// CORE_FPDFAPI_FONT_CFX_STOCKFONTARRAY_H_
CFX_FontMapper
Definition
cfx_fontmapper.h:30
CFX_FontMapper::StandardFont
StandardFont
Definition
cfx_fontmapper.h:32
CFX_StockFontArray
Definition
cfx_stockfontarray.h:15
CFX_StockFontArray::~CFX_StockFontArray
~CFX_StockFontArray()
Definition
cfx_stockfontarray.cpp:18
CFX_StockFontArray::CFX_StockFontArray
CFX_StockFontArray()
CFX_StockFontArray::SetFont
void SetFont(CFX_FontMapper::StandardFont index, RetainPtr< CPDF_Font > pFont)
Definition
cfx_stockfontarray.cpp:36
CFX_StockFontArray::GetFont
RetainPtr< CPDF_Font > GetFont(CFX_FontMapper::StandardFont index) const
Definition
cfx_stockfontarray.cpp:30
CPDF_Font
Definition
cpdf_font.h:38
fxcrt::RetainPtr
Definition
retain_ptr.h:29
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fpdfapi
font
cfx_stockfontarray.h
Generated on Sat Sep 21 2024 00:52:05 for Qt by
1.12.0