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
text_char_pos.cpp
Go to the documentation of this file.
1
// Copyright 2019 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
#
include
"core/fxge/text_char_pos.h"
8
9
TextCharPos
::
TextCharPos
() =
default
;
10
11
TextCharPos
::
TextCharPos
(
const
TextCharPos
&) =
default
;
12
13
TextCharPos
::~
TextCharPos
() =
default
;
14
15
CFX_Matrix
TextCharPos
::
GetEffectiveMatrix
(
const
CFX_Matrix
& matrix)
const
{
16
CFX_Matrix
new_matrix;
17
if
(
m_bGlyphAdjust
) {
18
new_matrix
=
CFX_Matrix
(
m_AdjustMatrix
[0]
,
m_AdjustMatrix
[1]
,
19
m_AdjustMatrix
[2]
,
m_AdjustMatrix
[3]
,
0
,
0
)
;
20
}
21
new_matrix
.
Concat
(
matrix
)
;
22
return
new_matrix;
23
}
CFX_Matrix
Definition
fx_coordinates.h:452
CFX_Matrix::operator=
CFX_Matrix & operator=(const CFX_Matrix &other)=default
CFX_Matrix::CFX_Matrix
CFX_Matrix(float a1, float b1, float c1, float d1, float e1, float f1)
Definition
fx_coordinates.h:459
CFX_Matrix::Concat
void Concat(const CFX_Matrix &right)
Definition
fx_coordinates.h:490
TextCharPos
Definition
text_char_pos.h:13
TextCharPos::m_AdjustMatrix
float m_AdjustMatrix[4]
Definition
text_char_pos.h:31
TextCharPos::GetEffectiveMatrix
CFX_Matrix GetEffectiveMatrix(const CFX_Matrix &matrix) const
Definition
text_char_pos.cpp:15
TextCharPos::TextCharPos
TextCharPos(const TextCharPos &)
TextCharPos::m_bGlyphAdjust
bool m_bGlyphAdjust
Definition
text_char_pos.h:29
TextCharPos::~TextCharPos
~TextCharPos()
TextCharPos::TextCharPos
TextCharPos()
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fxge
text_char_pos.cpp
Generated on Thu Nov 14 2024 00:59:58 for Qt by
1.12.0