Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qpolygon.cpp File Reference

(1ebee8980ba31514079a01989168914bfd1e9f4f)

#include "qpolygon.h"
#include "qrect.h"
#include "qdatastream.h"
#include "qdebug.h"
#include "qpainterpath.h"
#include "qtransform.h"
#include "qvariant.h"
#include "qpainterpath_p.h"
#include "qbezier_p.h"
#include <stdarg.h>
+ Include dependency graph for qpolygon.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE void qt_polygon_isect_line (const QPointF &p1, const QPointF &p2, const QPointF &pos, int *winding)
 
QDebug operator<< (QDebug dbg, const QPolygon &a)
 
QDataStreamoperator<< (QDataStream &s, const QPolygon &a)
 
QDataStreamoperator>> (QDataStream &s, QPolygon &a)
 
QDataStreamoperator<< (QDataStream &s, const QPolygonF &a)
 
QDataStreamoperator>> (QDataStream &s, QPolygonF &a)
 
QDebug operator<< (QDebug dbg, const QPolygonF &a)
 

Function Documentation

◆ operator<<() [1/4]

QDataStream & operator<< ( QDataStream & s,
const QPolygon & a )
related

Definition at line 661 of file qpolygon.cpp.

◆ operator<<() [2/4]

QDataStream & operator<< ( QDataStream & s,
const QPolygonF & a )
related

Definition at line 698 of file qpolygon.cpp.

◆ operator<<() [3/4]

QDebug operator<< ( QDebug dbg,
const QPolygon & a )

Definition at line 420 of file qpolygon.cpp.

References QtPrivate::printSequentialContainer().

+ Here is the call graph for this function:

◆ operator<<() [4/4]

QDebug operator<< ( QDebug dbg,
const QPolygonF & a )

Definition at line 720 of file qpolygon.cpp.

References QtPrivate::printSequentialContainer().

+ Here is the call graph for this function:

◆ operator>>() [1/2]

QDataStream & operator>> ( QDataStream & s,
QPolygon & a )
related

Definition at line 677 of file qpolygon.cpp.

◆ operator>>() [2/2]

QDataStream & operator>> ( QDataStream & s,
QPolygonF & a )
related

Definition at line 713 of file qpolygon.cpp.

◆ qt_polygon_isect_line()

static QT_BEGIN_NAMESPACE void qt_polygon_isect_line ( const QPointF & p1,
const QPointF & p2,
const QPointF & pos,
int * winding )
static

Definition at line 19 of file qpolygon.cpp.

References dir, p1, p2, pos, and qFuzzyCompare().

Referenced by QPolygon::containsPoint(), and QPolygonF::containsPoint().

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