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_radial.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 XFA_FXFA_PARSER_CXFA_RADIAL_H_
8#define XFA_FXFA_PARSER_CXFA_RADIAL_H_
9
10#include "core/fxcrt/fx_coordinates.h"
11#include "xfa/fgas/graphics/cfgas_gepath.h"
12#include "xfa/fxfa/parser/cxfa_node.h"
13
15class CXFA_Color;
16
17class CXFA_Radial final : public CXFA_Node {
18 public:
20 ~CXFA_Radial() override;
21
22 void Draw(CFGAS_GEGraphics* pGS,
23 const CFGAS_GEPath& fillPath,
24 FX_ARGB crStart,
25 const CFX_RectF& rtFill,
26 const CFX_Matrix& matrix);
27
28 private:
29 CXFA_Radial(CXFA_Document* doc, XFA_PacketType packet);
30
31 bool IsToEdge();
32 CXFA_Color* GetColorIfExists();
33};
34
35#endif // XFA_FXFA_PARSER_CXFA_RADIAL_H_
CFGAS_GEColor(const FX_ARGB argb)
StateRestorer(CFGAS_GEGraphics *graphics)
void FillPath(const CFGAS_GEPath &path, CFX_FillRenderOptions::FillType fill_type, const CFX_Matrix &matrix)
void SetFillColor(const CFGAS_GEColor &color)
void SetValue(FX_ARGB color)
void Draw(CFGAS_GEGraphics *pGS, const CFGAS_GEPath &fillPath, const CFX_RectF &rtWidget, const CFX_Matrix &matrix)
Definition cxfa_fill.cpp:95
FX_ARGB GetTextColor() const
Definition cxfa_fill.cpp:78
void SetColor(FX_ARGB color)
Definition cxfa_fill.cpp:64
FX_ARGB GetFillColor() const
Definition cxfa_fill.cpp:73
~CXFA_Fill() override
bool IsVisible()
Definition cxfa_fill.cpp:57
void Draw(CFGAS_GEGraphics *pGS, const CFGAS_GEPath &fillPath, FX_ARGB crStart, const CFX_RectF &rtFill, const CFX_Matrix &matrix)
~CXFA_Linear() override
static constexpr XFA_AttributeValue kDefaultType
Definition cxfa_linear.h:19
XFA_Element GetElementType() const
Definition cxfa_object.h:91
~CXFA_Pattern() override
void Draw(CFGAS_GEGraphics *pGS, const CFGAS_GEPath &fillPath, FX_ARGB crStart, const CFX_RectF &rtFill, const CFX_Matrix &matrix)
static constexpr XFA_AttributeValue kDefaultType
void Draw(CFGAS_GEGraphics *pGS, const CFGAS_GEPath &fillPath, FX_ARGB crStart, const CFX_RectF &rtFill, const CFX_Matrix &matrix)
~CXFA_Radial() override
void Draw(CFGAS_GEGraphics *pGS, const CFGAS_GEPath &fillPath, const CFX_RectF &rtFill, const CFX_Matrix &matrix)
XFA_PropertyFlag
Definition cxfa_node.h:88
XFA_AttributeType
Definition fxfa_basic.h:83
XFA_Attribute
Definition fxfa_basic.h:67
XFA_Element
Definition fxfa_basic.h:75
XFA_AttributeValue
Definition fxfa_basic.h:60
XFA_PacketType
Definition fxfa_basic.h:44
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32