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
9TextCharPos::TextCharPos() = default;
10
11TextCharPos::TextCharPos(const TextCharPos&) = default;
12
13TextCharPos::~TextCharPos() = default;
14
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}
void Concat(const CFX_Matrix &right)
CFX_Matrix GetEffectiveMatrix(const CFX_Matrix &matrix) const
TextCharPos(const TextCharPos &)
bool m_bGlyphAdjust