Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
fx_quartz_device.h
Go to the documentation of this file.
1
// Copyright 2014 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_APPLE_FX_QUARTZ_DEVICE_H_
8
#
define
CORE_FXGE_APPLE_FX_QUARTZ_DEVICE_H_
9
10
#
include
<
CoreGraphics
/
CoreGraphics
.
h
>
11
#
include
<
stdint
.
h
>
12
13
#
include
"core/fxcrt/retain_ptr.h"
14
#
include
"core/fxcrt/span.h"
15
#
include
"core/fxge/dib/fx_dib.h"
16
17
class
CFX_DIBitmap;
18
class
CFX_Matrix
;
19
20
class
CQuartz2D
{
21
public
:
22
void
*
CreateGraphics
(
const
RetainPtr
<CFX_DIBitmap>& bitmap);
23
void
DestroyGraphics
(
void
* graphics);
24
25
void
*
CreateFont
(pdfium::span<
const
uint8_t> font_data);
26
void
DestroyFont
(
void
* font);
27
void
SetGraphicsTextMatrix
(
void
* graphics,
const
CFX_Matrix
& matrix);
28
bool
DrawGraphicsString
(
void
* graphics,
29
void
* font,
30
float
font_size,
31
pdfium::span<uint16_t> glyph_indices,
32
pdfium::span<CGPoint> glyph_positions,
33
FX_ARGB
argb);
34
};
35
36
#
endif
// CORE_FXGE_APPLE_FX_QUARTZ_DEVICE_H_
CApplePlatform::CApplePlatform
CApplePlatform()
CApplePlatform::Init
void Init() override
Definition
fx_apple_platform.cpp:147
CApplePlatform::CreateDefaultSystemFontInfo
std::unique_ptr< SystemFontInfoIface > CreateDefaultSystemFontInfo() override
Definition
fx_apple_platform.cpp:150
CApplePlatform::CreatePlatformFont
void * CreatePlatformFont(pdfium::span< const uint8_t > font_span) override
Definition
fx_apple_platform.cpp:160
CApplePlatform::m_quartz2d
CQuartz2D m_quartz2d
Definition
fx_apple_platform.h:25
CApplePlatform::~CApplePlatform
~CApplePlatform() override
CFX_Font
Definition
cfx_font.h:38
CFX_Font::GetPsName
ByteString GetPsName() const
Definition
cfx_font.cpp:376
CFX_Font::GetSubstFont
CFX_SubstFont * GetSubstFont() const
Definition
cfx_font.h:79
CFX_Font::IsBold
bool IsBold() const
Definition
cfx_font.cpp:361
CFX_GEModule::PlatformIface
Definition
cfx_gemodule.h:27
CFX_GEModule
Definition
cfx_gemodule.h:25
CFX_GEModule::GetPlatform
PlatformIface * GetPlatform() const
Definition
cfx_gemodule.h:46
CFX_GEModule::Get
static CFX_GEModule * Get()
Definition
cfx_gemodule.cpp:45
CFX_Matrix
Definition
fx_coordinates.h:440
CFX_Matrix::d
float d
Definition
fx_coordinates.h:510
CFX_Matrix::a
float a
Definition
fx_coordinates.h:507
CFX_Matrix::c
float c
Definition
fx_coordinates.h:509
CFX_Matrix::b
float b
Definition
fx_coordinates.h:508
CFX_SubstFont::m_Weight
int m_Weight
Definition
cfx_substfont.h:28
CQuartz2D
Definition
fx_quartz_device.h:20
CQuartz2D::SetGraphicsTextMatrix
void SetGraphicsTextMatrix(void *graphics, const CFX_Matrix &matrix)
Definition
fx_quartz_device.cpp:67
CQuartz2D::CreateFont
void * CreateFont(pdfium::span< const uint8_t > font_data)
Definition
fx_quartz_device.cpp:51
CQuartz2D::DrawGraphicsString
bool DrawGraphicsString(void *graphics, void *font, float font_size, pdfium::span< uint16_t > glyph_indices, pdfium::span< CGPoint > glyph_positions, FX_ARGB argb)
Definition
fx_quartz_device.cpp:78
CQuartz2D::DestroyGraphics
void DestroyGraphics(void *graphics)
Definition
fx_quartz_device.cpp:46
CQuartz2D::CreateGraphics
void * CreateGraphics(const RetainPtr< CFX_DIBitmap > &bitmap)
Definition
fx_quartz_device.cpp:26
CQuartz2D::DestroyFont
void DestroyFont(void *font)
Definition
fx_quartz_device.cpp:63
fxcrt::ByteString::operator==
bool operator==(const char *ptr) const
Definition
bytestring.cpp:208
fxcrt::RetainPtr
Definition
retain_ptr.h:28
pdfium::CFDETextOutLargeBitmapTest
Definition
cfde_textout_unittest.cpp:117
pdfium::CFX_AggDeviceDriver::DrawDeviceText
bool DrawDeviceText(pdfium::span< const TextCharPos > pCharPos, CFX_Font *pFont, const CFX_Matrix &mtObject2Device, float font_size, uint32_t color, const CFX_TextRenderOptions &options) override
Definition
cfx_agg_devicedriver.cpp:951
pdfium::CFX_AggDeviceDriver::InitPlatform
void InitPlatform()
Definition
cfx_agg_devicedriver.cpp:947
pdfium::CFX_AggDeviceDriver::DestroyPlatform
void DestroyPlatform()
Definition
cfx_agg_devicedriver.cpp:949
FX_ARGB
uint32_t FX_ARGB
Definition
fx_dib.h:36
CFX_TextRenderOptions
Definition
cfx_textrenderoptions.h:8
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fxge
apple
fx_quartz_device.h
Generated on
for Qt by
1.18.0