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_Path::Point Class Reference

#include <cfx_path.h>

+ Collaboration diagram for CFX_Path::Point:

Public Types

enum class  Type : uint8_t { kLine , kBezier , kMove }
 

Public Member Functions

 Point ()
 
 Point (const CFX_PointF &point, Type type, bool close)
 
 Point (const Point &other)
 
 ~Point ()
 
bool IsTypeAndOpen (Type type) const
 

Public Attributes

CFX_PointF m_Point
 
Type m_Type = Type::kLine
 
bool m_CloseFigure = false
 

Detailed Description

Definition at line 20 of file cfx_path.h.

Member Enumeration Documentation

◆ Type

enum class CFX_Path::Point::Type : uint8_t
strong
Enumerator
kLine 
kBezier 
kMove 

Definition at line 22 of file cfx_path.h.

Constructor & Destructor Documentation

◆ Point() [1/3]

CFX_Path::Point::Point ( )
default

◆ Point() [2/3]

CFX_Path::Point::Point ( const CFX_PointF & point,
Type type,
bool close )

Definition at line 250 of file cfx_path.cpp.

References Point(), m_CloseFigure, and m_Type.

Referenced by Point().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Point() [3/3]

CFX_Path::Point::Point ( const Point & other)
default

◆ ~Point()

CFX_Path::Point::~Point ( )
default

Member Function Documentation

◆ IsTypeAndOpen()

bool CFX_Path::Point::IsTypeAndOpen ( Type type) const
inline

Definition at line 29 of file cfx_path.h.

References m_CloseFigure, and m_Type.

Member Data Documentation

◆ m_CloseFigure

bool CFX_Path::Point::m_CloseFigure = false

Definition at line 35 of file cfx_path.h.

Referenced by Point(), FPDFPathSegment_GetClose(), and IsTypeAndOpen().

◆ m_Point

CFX_PointF CFX_Path::Point::m_Point

Definition at line 33 of file cfx_path.h.

◆ m_Type

Type CFX_Path::Point::m_Type = Type::kLine

Definition at line 34 of file cfx_path.h.

Referenced by Point(), FPDFPathSegment_GetType(), and IsTypeAndOpen().


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