![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cxfa_rectangle.h>
Static Public Member Functions | |
| static CXFA_Rectangle * | FromNode (CXFA_Node *pNode) |
| Static Public Member Functions inherited from CXFA_Node | |
| static CXFA_Node * | Create (CXFA_Document *doc, XFA_Element element, XFA_PacketType packet) |
Public Attributes | |
| CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
| Public Attributes inherited from CXFA_Box | |
| CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Protected Member Functions | |
| CXFA_Rectangle (CXFA_Document *doc, XFA_PacketType packet) | |
| CXFA_Rectangle (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) | |
| void | Stroke (const std::vector< CXFA_Stroke * > &strokes, CFGAS_GEGraphics *pGS, CFX_RectF rtWidget, const CFX_Matrix &matrixmatrix) |
| void | StrokeEmbossed (CFGAS_GEGraphics *pGS, CFX_RectF rt, float fThickness, const CFX_Matrix &matrixmatrix) |
| void | StrokeLowered (CFGAS_GEGraphics *pGS, CFX_RectF rt, float fThickness, const CFX_Matrix &matrixmatrix) |
| void | StrokeRaised (CFGAS_GEGraphics *pGS, CFX_RectF rt, float fThickness, const CFX_Matrix &matrixmatrix) |
| void | StrokeEtched (CFGAS_GEGraphics *pGS, CFX_RectF rt, float fThickness, const CFX_Matrix &matrixmatrix) |
| void | StrokeRect (CFGAS_GEGraphics *pGraphic, const CFX_RectF &rt, float fLineWidth, const CFX_Matrix &matrixmatrix, FX_ARGB argbTopLeft, FX_ARGB argbBottomRight) |
| void | GetPath (const std::vector< CXFA_Stroke * > &strokes, CFX_RectF rtWidget, CFGAS_GEPath &pathpath, int32_t nIndex, bool bStart, bool bCorner) |
| Protected Member Functions inherited from CXFA_Box | |
| 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) | |
| XFA_AttributeValue | GetHand () |
| Protected Member Functions inherited from CXFA_Node | |
| CXFA_Node (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_object) | |
| virtual XFA_Element | GetValueNodeType () const |
| virtual XFA_FFWidgetType | GetDefaultFFWidgetType () const |
| Protected Member Functions inherited from CXFA_Object | |
| CXFA_Object (CXFA_Document *pDocument, XFA_ObjectType objectType, XFA_Element eType, CJX_Object *jsObject) | |
| Protected Member Functions inherited from fxjs::GCedTreeNodeMixin< T > | |
| GCedTreeNodeMixin ()=default | |
| GCedTreeNodeMixin (const GCedTreeNodeMixin &that)=delete | |
| GCedTreeNodeMixin & | operator= (const GCedTreeNodeMixin &that)=delete |
Additional Inherited Members | |
| Protected Attributes inherited from CXFA_Object | |
| const XFA_ObjectType | m_objectType |
| const XFA_Element | m_elementType |
| const ByteStringView | m_elementName |
| const uint32_t | m_elementNameHash |
| cppgc::WeakMember< CXFA_Document > | m_pDocument |
| cppgc::Member< CJX_Object > | m_pJSObject |
Definition at line 15 of file cxfa_rectangle.h.
|
overridedefault |
|
protected |
Definition at line 46 of file cxfa_rectangle.cpp.
References CXFA_Rectangle().
Referenced by CXFA_Rectangle().
|
protected |
Definition at line 58 of file cxfa_rectangle.cpp.
| void CXFA_Rectangle::Draw | ( | const std::vector< CXFA_Stroke * > & | strokes, |
| CFGAS_GEGraphics * | pGS, | ||
| CFX_RectF | rtWidget, | ||
| const CFX_Matrix & | matrix ) |
Definition at line 224 of file cxfa_rectangle.cpp.
References CXFA_Box::GetHand(), CFX_RectF::height, CFX_RectF::left, CFX_RectF::top, and CFX_RectF::width.
|
static |
Definition at line 40 of file cxfa_rectangle.cpp.
Referenced by CXFA_Value::GetRectangleIfExists().
| void CXFA_Rectangle::GetFillPath | ( | const std::vector< CXFA_Stroke * > & | strokes, |
| const CFX_RectF & | rtWidget, | ||
| CFGAS_GEPath * | fillPath ) |
Definition at line 77 of file cxfa_rectangle.cpp.
References CFGAS_GEPath::AddRectangle(), CFGAS_GEPath::ArcTo(), CXFA_Stroke::GetJoinType(), CXFA_Stroke::GetRadius(), CFX_RectF::height, CXFA_Stroke::IsInverted(), CXFA_Stroke::kCorner, CXFA_Stroke::kNoPresence, CFX_RectF::left, CFGAS_GEPath::LineTo(), CFGAS_GEPath::MoveTo(), CFX_RectF::Normalize(), CFX_RectF::Offset(), CXFA_Stroke::SameStyles(), CFX_RectF::top, and CFX_RectF::width.
|
protected |
Definition at line 461 of file cxfa_rectangle.cpp.
References CFGAS_GEPath::ArcTo(), CXFA_Stroke::GetJoinType(), CXFA_Stroke::GetRadius(), CXFA_Stroke::GetThickness(), CXFA_Stroke::IsCorner(), CXFA_Stroke::IsInverted(), CFGAS_GEPath::LineTo(), CFGAS_GEPath::MoveTo(), CFX_RectF::Normalize(), CFX_RectF::Offset(), and CXFA_Stroke::SameStyles().
|
protected |
Definition at line 280 of file cxfa_rectangle.cpp.
References CFGAS_GEPath::Clear(), CFGAS_GEPath::Close(), CXFA_Box::Get3DStyle(), CXFA_Stroke::GetJoinType(), CXFA_Stroke::GetRadius(), CFGAS_GEPath::IsEmpty(), CXFA_Stroke::IsInverted(), CXFA_Stroke::kCorner, CXFA_Stroke::kNoPresence, CXFA_Stroke::SameStyles(), CXFA_Stroke::Stroke(), StrokeEmbossed(), StrokeEtched(), StrokeLowered(), and StrokeRaised().
|
protected |
Definition at line 449 of file cxfa_rectangle.cpp.
References CFX_RectF::CFX_RectF(), CFX_RectF::Deflate(), and StrokeRect().
Referenced by Stroke().
|
protected |
Definition at line 437 of file cxfa_rectangle.cpp.
References CFX_RectF::CFX_RectF(), CFX_RectF::Deflate(), and StrokeRect().
Referenced by Stroke().
|
protected |
Definition at line 405 of file cxfa_rectangle.cpp.
References CFGAS_GEColor::CFGAS_GEColor(), CFX_RectF::CFX_RectF(), CFGAS_GEPath::AddRectangle(), CFX_RectF::Deflate(), CFGAS_GEGraphics::FillPath(), CFX_RectF::height, CFX_FillRenderOptions::kEvenOdd, CFX_RectF::left, CFGAS_GEGraphics::SetFillColor(), StrokeRect(), CFX_RectF::top, and CFX_RectF::width.
Referenced by Stroke().
|
protected |
Definition at line 421 of file cxfa_rectangle.cpp.
References CFGAS_GEColor::CFGAS_GEColor(), CFX_RectF::CFX_RectF(), CFGAS_GEPath::AddRectangle(), CFX_RectF::Deflate(), CFGAS_GEGraphics::FillPath(), CFX_RectF::height, CFX_FillRenderOptions::kEvenOdd, CFX_RectF::left, CFGAS_GEGraphics::SetFillColor(), StrokeRect(), CFX_RectF::top, and CFX_RectF::width.
Referenced by Stroke().
|
protected |
Definition at line 374 of file cxfa_rectangle.cpp.
References CFGAS_GEColor::CFGAS_GEColor(), CFX_RectF::bottom(), CFGAS_GEGraphics::FillPath(), CFX_FillRenderOptions::kWinding, CFX_RectF::left, CFGAS_GEPath::LineTo(), CFGAS_GEPath::MoveTo(), CFX_RectF::right(), CFGAS_GEGraphics::SetFillColor(), and CFX_RectF::top.
Referenced by StrokeEmbossed(), StrokeEtched(), StrokeLowered(), and StrokeRaised().
| CXFA_Rectangle::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED |
Definition at line 19 of file cxfa_rectangle.h.