Qt 4.8
Public Functions | Public Variables | List of all members
QPathVertex Struct Reference

#include <qpathclipper_p.h>

Public Functions

 operator QPointF () const
 
 QPathVertex (const QPointF &p=QPointF(), int e=-1)
 

Public Variables

int edge
 
qreal x
 
qreal y
 

Detailed Description

Definition at line 111 of file qpathclipper_p.h.

Constructors and Destructors

◆ QPathVertex()

QPathVertex::QPathVertex ( const QPointF p = QPointF(),
int  e = -1 
)
inline

Definition at line 336 of file qpathclipper_p.h.

337  : edge(e)
338  , x(p.x())
339  , y(p.y())
340 {
341 }
qreal x() const
Returns the x-coordinate of this point.
Definition: qpoint.h:282
qreal y() const
Returns the y-coordinate of this point.
Definition: qpoint.h:287

Functions

◆ operator QPointF()

QPathVertex::operator QPointF ( ) const
inline

Definition at line 343 of file qpathclipper_p.h.

344 {
345  return QPointF(x, y);
346 }
The QPointF class defines a point in the plane using floating point precision.
Definition: qpoint.h:214

Properties

◆ edge

int QPathVertex::edge

◆ x

qreal QPathVertex::x

Definition at line 119 of file qpathclipper_p.h.

Referenced by QWingedEdge::addEdge(), QWingedEdge::insert(), and operator QPointF().

◆ y

qreal QPathVertex::y

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