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_stroke.h>
Public Types | |
enum class | SameStyleOption { kNoPresence = 1 << 0 , kCorner = 1 << 1 } |
Public Attributes | |
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Protected Member Functions | |
CXFA_Stroke (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) | |
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 | |
Static Public Member Functions inherited from CXFA_Node | |
static CXFA_Node * | Create (CXFA_Document *doc, XFA_Element element, XFA_PacketType packet) |
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 23 of file cxfa_stroke.h.
|
strong |
Enumerator | |
---|---|
kNoPresence | |
kCorner |
Definition at line 25 of file cxfa_stroke.h.
|
overridedefault |
|
protected |
Definition at line 67 of file cxfa_stroke.cpp.
XFA_AttributeValue CXFA_Stroke::GetCapType | ( | ) |
Definition at line 93 of file cxfa_stroke.cpp.
Referenced by CXFA_FFLine::RenderWidget().
FX_ARGB CXFA_Stroke::GetColor | ( | ) | const |
Definition at line 113 of file cxfa_stroke.cpp.
References CXFA_Color::StringToFXARGB().
Referenced by CXFA_FFWidget::GetBorderColorAndThickness(), CXFA_FFLine::RenderWidget(), SameStyles(), and Stroke().
XFA_AttributeValue CXFA_Stroke::GetJoinType | ( | ) |
Definition at line 137 of file cxfa_stroke.cpp.
Referenced by CXFA_Rectangle::GetFillPath(), CXFA_Rectangle::GetPath(), and CXFA_Rectangle::Stroke().
CXFA_Measurement CXFA_Stroke::GetMSThickness | ( | ) | const |
Definition at line 105 of file cxfa_stroke.cpp.
Referenced by GetThickness().
float CXFA_Stroke::GetRadius | ( | ) | const |
Definition at line 145 of file cxfa_stroke.cpp.
References CXFA_Measurement::CXFA_Measurement(), In, and Pt.
Referenced by CXFA_Rectangle::GetFillPath(), CXFA_Rectangle::GetPath(), SameStyles(), CXFA_Rectangle::Stroke(), and Stroke().
XFA_AttributeValue CXFA_Stroke::GetStrokeType | ( | ) |
Definition at line 97 of file cxfa_stroke.cpp.
Referenced by CXFA_FFLine::RenderWidget(), SameStyles(), and Stroke().
float CXFA_Stroke::GetThickness | ( | ) | const |
Definition at line 101 of file cxfa_stroke.cpp.
References GetMSThickness(), Pt, and CXFA_Measurement::ToUnit().
Referenced by CXFA_Box::Get3DStyle(), CXFA_FFWidget::GetBorderColorAndThickness(), CXFA_Rectangle::GetPath(), CXFA_FFLine::RenderWidget(), SameStyles(), and Stroke().
|
inline |
Definition at line 32 of file cxfa_stroke.h.
References CXFA_Object::GetElementType().
Referenced by CXFA_Rectangle::GetPath(), and Stroke().
bool CXFA_Stroke::IsInverted | ( | ) |
Definition at line 141 of file cxfa_stroke.cpp.
Referenced by CXFA_Rectangle::GetFillPath(), CXFA_Rectangle::GetPath(), and CXFA_Rectangle::Stroke().
bool CXFA_Stroke::IsVisible | ( | ) |
Definition at line 86 of file cxfa_stroke.cpp.
Referenced by CXFA_Box::Get3DStyle(), CXFA_FFLine::RenderWidget(), SameStyles(), and Stroke().
bool CXFA_Stroke::SameStyles | ( | CXFA_Stroke * | stroke, |
Mask< SameStyleOption > | dwFlags ) |
Definition at line 152 of file cxfa_stroke.cpp.
References GetColor(), GetRadius(), GetStrokeType(), GetThickness(), IsVisible(), kCorner, and kNoPresence.
Referenced by CXFA_Rectangle::GetFillPath(), CXFA_Rectangle::GetPath(), and CXFA_Rectangle::Stroke().
Definition at line 122 of file cxfa_stroke.cpp.
References fxcrt::WideString::Format().
void CXFA_Stroke::SetMSThickness | ( | CXFA_Measurement | msThinkness | ) |
Definition at line 109 of file cxfa_stroke.cpp.
void CXFA_Stroke::Stroke | ( | CFGAS_GEGraphics * | pGS, |
const CFGAS_GEPath & | pPath, | ||
const CFX_Matrix & | matrix ) |
Definition at line 173 of file cxfa_stroke.cpp.
References CFGAS_GEColor::CFGAS_GEColor(), CFGAS_GEGraphics::StateRestorer::StateRestorer(), CFGAS_GEGraphics::EnableActOnDash(), GetColor(), GetRadius(), GetStrokeType(), GetThickness(), IsCorner(), IsVisible(), CFX_GraphStateData::kButt, CFGAS_GEGraphics::SetLineCap(), CFGAS_GEGraphics::SetLineWidth(), CFGAS_GEGraphics::SetStrokeColor(), CFGAS_GEGraphics::StrokePath(), and XFA_StrokeTypeSetLineDash().
Referenced by CXFA_Rectangle::Stroke().
CXFA_Stroke::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED |
Definition at line 29 of file cxfa_stroke.h.