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_corner.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_CORNER_H_
8#define XFA_FXFA_PARSER_CXFA_CORNER_H_
9
10#include "xfa/fxfa/parser/cxfa_stroke.h"
11
12class CXFA_Corner final : public CXFA_Stroke {
13 public:
15 ~CXFA_Corner() override;
16
17 private:
18 CXFA_Corner(CXFA_Document* doc, XFA_PacketType packet);
19};
20
21#endif // XFA_FXFA_PARSER_CXFA_CORNER_H_
CFGAS_GEColor(const FX_ARGB argb)
StateRestorer(CFGAS_GEGraphics *graphics)
void SetLineWidth(float lineWidth)
void SetStrokeColor(const CFGAS_GEColor &color)
void StrokePath(const CFGAS_GEPath &path, const CFX_Matrix &matrix)
void AddEllipse(const CFX_RectF &rect)
void AddArc(const CFX_PointF &pos, const CFX_SizeF &size, float startAngle, float sweepAngle)
void Inflate(float x, float y)
void Deflate(float x, float y)
std::tuple< XFA_AttributeValue, bool, float > Get3DStyle()
Definition cxfa_box.cpp:126
std::vector< CXFA_Stroke * > GetStrokes()
Definition cxfa_box.cpp:106
XFA_AttributeValue GetHand()
Definition cxfa_box.cpp:83
CXFA_Edge * GetEdgeIfExists(size_t nIndex)
Definition cxfa_box.cpp:97
size_t CountEdges()
Definition cxfa_box.cpp:93
~CXFA_Box() override
XFA_AttributeValue GetPresence()
Definition cxfa_box.cpp:87
CXFA_Fill * GetOrCreateFillIfPossible()
Definition cxfa_box.cpp:122
void Draw(CFGAS_GEGraphics *pGS, const CFX_RectF &rtWidget, const CFX_Matrix &matrix, bool forceRound)
Definition cxfa_box.cpp:187
CXFA_Box(CXFA_Document *pDoc, XFA_PacketType ePacket, Mask< XFA_XDPPACKET > validPackets, XFA_ObjectType oType, XFA_Element eType, pdfium::span< const PropertyData > properties, pdfium::span< const AttributeData > attributes, CJX_Object *js_node)
Definition cxfa_box.cpp:64
~CXFA_Corner() override
void Draw(CFGAS_GEGraphics *pGS, const CFGAS_GEPath &fillPath, const CFX_RectF &rtWidget, const CFX_Matrix &matrix)
Definition cxfa_fill.cpp:95
bool IsVisible()
Definition cxfa_fill.cpp:57
XFA_Element GetElementType() const
Definition cxfa_object.h:91
void Stroke(CFGAS_GEGraphics *pGS, const CFGAS_GEPath &pPath, const CFX_Matrix &matrix)
bool IsVisible()
float GetThickness() const
XFA_AttributeValue GetStrokeType()
XFA_ObjectType
Definition cxfa_object.h:21
#define FXSYS_PI
Definition fx_system.h:43
XFA_Attribute
Definition fxfa_basic.h:67
XFA_XDPPACKET
Definition fxfa_basic.h:51
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