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
cxfa_ffexclgroup.cpp
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#include "xfa/fxfa/cxfa_ffexclgroup.h"
8
9#include "xfa/fxfa/cxfa_ffapp.h"
10#include "xfa/fxfa/cxfa_ffdoc.h"
11#include "xfa/fxfa/cxfa_ffpageview.h"
12#include "xfa/fxfa/cxfa_ffwidget.h"
13
14CXFA_FFExclGroup::CXFA_FFExclGroup(CXFA_Node* pNode) : CXFA_FFWidget(pNode) {}
15
16CXFA_FFExclGroup::~CXFA_FFExclGroup() = default;
17
18void CXFA_FFExclGroup::RenderWidget(CFGAS_GEGraphics* pGS,
19 const CFX_Matrix& matrix,
20 HighlightOption highlight) {
21 if (!HasVisibleStatus())
22 return;
23
24 CFX_Matrix mtRotate = GetRotateMatrix();
25 mtRotate.Concat(matrix);
26
27 CXFA_FFWidget::RenderWidget(pGS, mtRotate, highlight);
28}
void Concat(const CFX_Matrix &right)
~CXFA_FFExclGroup() override
void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight) override
CFX_Matrix GetRotateMatrix() override
virtual void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight)
CXFA_FFWidget(CXFA_Node *pNode)
bool HasVisibleStatus() const