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
QPathEdge Class Reference

#include <qpathclipper_p.h>

Collaboration diagram for QPathEdge:

Public Types

enum  Traversal { RightTraversal , LeftTraversal }
enum  Direction { Forward , Backward }
enum  Type { Line , Curve }

Public Member Functions

 QPathEdge (int a=-1, int b=-1)
int next (Traversal traversal, Direction direction) const
void setNext (Traversal traversal, Direction direction, int next)
void setNext (Direction direction, int next)
Direction directionTo (int vertex) const
int vertex (Direction direction) const

Public Attributes

int flag
int windingA
int windingB
int first
int second
double angle
double invAngle

Detailed Description

Definition at line 84 of file qpathclipper_p.h.

Member Enumeration Documentation

◆ Direction

Enumerator
Forward 
Backward 

Definition at line 92 of file qpathclipper_p.h.

◆ Traversal

Enumerator
RightTraversal 
LeftTraversal 

Definition at line 87 of file qpathclipper_p.h.

◆ Type

Enumerator
Line 
Curve 

Definition at line 97 of file qpathclipper_p.h.

Constructor & Destructor Documentation

◆ QPathEdge()

QPathEdge::QPathEdge ( int a = -1,
int b = -1 )
inlineexplicit

Definition at line 260 of file qpathclipper_p.h.

References angle, first, flag, invAngle, second, windingA, and windingB.

Member Function Documentation

◆ directionTo()

QPathEdge::Direction QPathEdge::directionTo ( int vertex) const
inline

Definition at line 287 of file qpathclipper_p.h.

References Backward, first, and Forward.

◆ next()

int QPathEdge::next ( Traversal traversal,
Direction direction ) const
inline

Definition at line 271 of file qpathclipper_p.h.

◆ setNext() [1/2]

void QPathEdge::setNext ( Direction direction,
int next )
inline

Definition at line 281 of file qpathclipper_p.h.

◆ setNext() [2/2]

void QPathEdge::setNext ( Traversal traversal,
Direction direction,
int next )
inline

Definition at line 276 of file qpathclipper_p.h.

◆ vertex()

int QPathEdge::vertex ( Direction direction) const
inline

Definition at line 292 of file qpathclipper_p.h.

References Backward, first, and second.

Referenced by add().

Here is the caller graph for this function:

Member Data Documentation

◆ angle

double QPathEdge::angle

Definition at line 112 of file qpathclipper_p.h.

Referenced by QPathEdge().

◆ first

int QPathEdge::first

Definition at line 109 of file qpathclipper_p.h.

Referenced by QPathEdge(), commonEdge(), directionTo(), findCrossings(), and vertex().

◆ flag

int QPathEdge::flag
mutable

Definition at line 104 of file qpathclipper_p.h.

Referenced by QPathEdge(), add(), and traverse().

◆ invAngle

double QPathEdge::invAngle

Definition at line 113 of file qpathclipper_p.h.

Referenced by QPathEdge().

◆ second

int QPathEdge::second

Definition at line 110 of file qpathclipper_p.h.

Referenced by QPathEdge(), commonEdge(), findCrossings(), and vertex().

◆ windingA

int QPathEdge::windingA

Definition at line 106 of file qpathclipper_p.h.

Referenced by QPathEdge().

◆ windingB

int QPathEdge::windingB

Definition at line 107 of file qpathclipper_p.h.

Referenced by QPathEdge().


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