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
CFX_RetainablePath Class Referencefinal

#include <cfx_path.h>

+ Inheritance diagram for CFX_RetainablePath:
+ Collaboration diagram for CFX_RetainablePath:

Public Member Functions

RetainPtr< CFX_RetainablePathClone () const
 
- Public Member Functions inherited from fxcrt::Retainable
 Retainable ()=default
 
bool HasOneRef () const
 
- Public Member Functions inherited from CFX_Path
 CFX_Path ()
 
 CFX_Path (const CFX_Path &src)
 
 CFX_Path (CFX_Path &&src) noexcept
 
 ~CFX_Path ()
 
void Clear ()
 
Point::Type GetType (size_t index) const
 
bool IsClosingFigure (size_t index) const
 
CFX_PointF GetPoint (size_t index) const
 
const std::vector< Point > & GetPoints () const
 
std::vector< Point > & GetPoints ()
 
CFX_FloatRect GetBoundingBox () const
 
CFX_FloatRect GetBoundingBoxForStrokePath (float line_width, float miter_limit) const
 
void Transform (const CFX_Matrix &matrix)
 
bool IsRect () const
 
absl::optional< CFX_FloatRectGetRect (const CFX_Matrix *matrix) const
 
void Append (const CFX_Path &src, const CFX_Matrix *matrix)
 
void AppendFloatRect (const CFX_FloatRect &rect)
 
void AppendRect (float left, float bottom, float right, float top)
 
void AppendLine (const CFX_PointF &pt1, const CFX_PointF &pt2)
 
void AppendPoint (const CFX_PointF &point, Point::Type type)
 
void AppendPointAndClose (const CFX_PointF &point, Point::Type type)
 
void ClosePath ()
 

Public Attributes

 CONSTRUCT_VIA_MAKE_RETAIN
 

Private Member Functions

 ~CFX_RetainablePath () override
 

Additional Inherited Members

- Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default
 

Detailed Description

Definition at line 73 of file cfx_path.h.

Member Function Documentation

◆ ~CFX_RetainablePath()

CFX_RetainablePath::~CFX_RetainablePath ( )
overrideprivatedefault

◆ Clone()

RetainPtr< CFX_RetainablePath > CFX_RetainablePath::Clone ( ) const

Definition at line 449 of file cfx_path.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CFX_RetainablePath::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 75 of file cfx_path.h.


The documentation for this class was generated from the following files: