![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qtessellator_p.h>
Classes | |
struct | Trapezoid |
struct | Vertex |
Public Member Functions | |
QTessellator () | |
virtual | ~QTessellator () |
QRectF | tessellate (const QPointF *points, int nPoints) |
void | tessellateConvex (const QPointF *points, int nPoints) |
void | tessellateRect (const QPointF &a, const QPointF &b, qreal width) |
void | setWinding (bool w) |
virtual void | addTrap (const Trapezoid &trap)=0 |
Friends | |
class | QTessellatorPrivate |
Definition at line 21 of file qtessellator_p.h.
QTessellator::QTessellator | ( | ) |
Definition at line 1167 of file qtessellator.cpp.
|
virtual |
Definition at line 1172 of file qtessellator.cpp.
Referenced by QTessellatorPrivate::emitEdges(), tessellateConvex(), and tessellateRect().
void QTessellator::setWinding | ( | bool | w | ) |
Definition at line 1177 of file qtessellator.cpp.
References QTessellatorPrivate::winding.
Definition at line 1183 of file qtessellator.cpp.
References QTessellatorPrivate::addEdges(), QTessellatorPrivate::addIntersections(), QTessellatorPrivate::cancelCoincidingEdges(), QTessellatorPrivate::Scanline::clearMarks(), QTessellatorPrivate::currentVertex, QTessellatorPrivate::Scanline::done(), QTessellatorPrivate::emitEdges(), QTessellatorPrivate::Scanline::init(), QTessellatorPrivate::Vertices::init(), QTessellatorPrivate::intersections, QTessellatorPrivate::Scanline::lineDone(), QTessellatorPrivate::Vertices::nPoints, QTessellatorPrivate::Scanline::prepareLine(), QTessellatorPrivate::processIntersections(), QTessellatorPrivate::removeEdges(), QTessellatorPrivate::scanline, QTessellatorPrivate::Vertices::sorted, QTessellatorPrivate::vertices, QTessellator::Vertex::y, and QTessellatorPrivate::y.
Definition at line 1259 of file qtessellator.cpp.
References addTrap(), QTessellator::Trapezoid::bottom, QTessellator::Trapezoid::bottomLeft, QTessellator::Trapezoid::bottomRight, QTessellatorPrivate::Vertices::init(), QTessellatorPrivate::Vertices::nPoints, QTessellatorPrivate::Vertices::operator[](), QTessellator::Trapezoid::top, QTessellator::Trapezoid::topLeft, QTessellator::Trapezoid::topRight, QTessellatorPrivate::vertices, QTessellator::Vertex::x, and QTessellator::Vertex::y.
Definition at line 1354 of file qtessellator.cpp.
References addTrap(), QTessellator::Vertex::x, and QTessellator::Vertex::y.
|
friend |
Definition at line 47 of file qtessellator_p.h.