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
QTessellatorPrivate Class Reference
Collaboration diagram for QTessellatorPrivate:

Classes

struct  Edge
class  EdgeSorter
struct  Intersection
class  Scanline
struct  Vertex
struct  Vertices

Public Types

typedef QMap< Intersection, IntersectionLinkIntersections
typedef QMap< Intersection, IntersectionLinkIntersections

Public Member Functions

 QTessellatorPrivate ()
QRectF collectAndSortVertices (const QPointF *points, int *maxActiveEdges)
void cancelCoincidingEdges ()
void emitEdges (QTessellator *tessellator)
void processIntersections ()
void removeEdges ()
void addEdges ()
void addIntersections ()
 QTessellatorPrivate ()
QRectF collectAndSortVertices (const QPointF *points, int *maxActiveEdges)
void cancelCoincidingEdges ()
void emitEdges (QTessellator *tessellator)
void processIntersections ()
void removeEdges ()
void addEdges ()
void addIntersections ()

Public Attributes

Vertices vertices
Intersections intersections
Scanline scanline
bool winding
Q27Dot5 y
int currentVertex

Detailed Description

Definition at line 39 of file qtessellator.cpp.

Member Typedef Documentation

◆ Intersections [1/2]

◆ Intersections [2/2]

Constructor & Destructor Documentation

◆ QTessellatorPrivate() [1/2]

QTessellatorPrivate::QTessellatorPrivate ( )
inline

Definition at line 43 of file qtessellator.cpp.

◆ QTessellatorPrivate() [2/2]

QTessellatorPrivate::QTessellatorPrivate ( )
inline

Definition at line 43 of file qtessellator.cpp.

Member Function Documentation

◆ addEdges() [1/2]

◆ addEdges() [2/2]

void QTessellatorPrivate::addEdges ( )

◆ addIntersections() [1/2]

void QTessellatorPrivate::addIntersections ( )

Definition at line 1135 of file qtessellator.cpp.

References QTessellatorPrivate::Scanline::edges, QTessellatorPrivate::Edge::intersect_left, QTessellatorPrivate::Edge::intersect_right, scanline, and QTessellatorPrivate::Scanline::size.

Referenced by QTessellator::tessellate().

Here is the caller graph for this function:

◆ addIntersections() [2/2]

void QTessellatorPrivate::addIntersections ( )

◆ cancelCoincidingEdges() [1/2]

void QTessellatorPrivate::cancelCoincidingEdges ( )

Definition at line 690 of file qtessellator.cpp.

References QCoincidingEdge::before, QCoincidingEdge::end, QTessellatorPrivate::Vertex::flags, LineAfterHorizontal, LineAfterStarts, LineBeforeHorizontal, LineBeforeStarts, QTessellatorPrivate::Vertices::next(), QTessellatorPrivate::Vertices::nPoints, QTessellatorPrivate::Vertices::prev(), QTessellatorPrivate::Vertices::sorted, QCoincidingEdge::start, QCoincidingEdge::used, vertices, QTessellator::Vertex::x, and QTessellator::Vertex::y.

Referenced by QTessellator::tessellate().

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

◆ cancelCoincidingEdges() [2/2]

void QTessellatorPrivate::cancelCoincidingEdges ( )

◆ collectAndSortVertices() [1/2]

QRectF QTessellatorPrivate::collectAndSortVertices ( const QPointF * points,
int * maxActiveEdges )

◆ collectAndSortVertices() [2/2]

QRectF QTessellatorPrivate::collectAndSortVertices ( const QPointF * points,
int * maxActiveEdges )

◆ emitEdges() [1/2]

void QTessellatorPrivate::emitEdges ( QTessellator * tessellator)

Definition at line 756 of file qtessellator.cpp.

References QTessellator::addTrap(), QTessellatorPrivate::Edge::edge, fillTrapezoid(), QTessellatorPrivate::Edge::mark, QTessellatorPrivate::Scanline::old, QTessellatorPrivate::Scanline::old_size, scanline, vertices, QTessellatorPrivate::Edge::winding, winding, y, QTessellatorPrivate::Edge::y_left, and QTessellatorPrivate::Edge::y_right.

Referenced by QTessellator::tessellate().

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

◆ emitEdges() [2/2]

void QTessellatorPrivate::emitEdges ( QTessellator * tessellator)

◆ processIntersections() [1/2]

void QTessellatorPrivate::processIntersections ( )

Definition at line 818 of file qtessellator.cpp.

References QTessellatorPrivate::EdgeSorter::EdgeSorter(), QTessellatorPrivate::Intersection::edge, QTessellatorPrivate::Scanline::edges, QTessellatorPrivate::Scanline::findEdge(), QTessellatorPrivate::Edge::intersect_left, QTessellatorPrivate::Edge::intersect_right, intersections, QTessellatorPrivate::Edge::mark, QTessellatorPrivate::Edge::positionAt(), scanline, QTessellatorPrivate::Scanline::size, QTessellatorPrivate::Intersection::y, and y.

Referenced by QTessellator::tessellate().

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

◆ processIntersections() [2/2]

void QTessellatorPrivate::processIntersections ( )

◆ removeEdges() [1/2]

void QTessellatorPrivate::removeEdges ( )

◆ removeEdges() [2/2]

void QTessellatorPrivate::removeEdges ( )

Member Data Documentation

◆ currentVertex

int QTessellatorPrivate::currentVertex

Definition at line 198 of file qtessellator.cpp.

Referenced by addEdges(), removeEdges(), and QTessellator::tessellate().

◆ intersections

Intersections QTessellatorPrivate::intersections

Definition at line 194 of file qtessellator.cpp.

Referenced by processIntersections(), and QTessellator::tessellate().

◆ scanline

Scanline QTessellatorPrivate::scanline

◆ vertices

◆ winding

bool QTessellatorPrivate::winding

Definition at line 196 of file qtessellator.cpp.

Referenced by emitEdges(), and QTessellator::setWinding().

◆ y

Q27Dot5 QTessellatorPrivate::y

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