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

Classes

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

Public Types

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 ()
 

Public Attributes

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

Detailed Description

Definition at line 38 of file qtessellator.cpp.

Member Typedef Documentation

◆ Intersections

Constructor & Destructor Documentation

◆ QTessellatorPrivate()

QTessellatorPrivate::QTessellatorPrivate ( )
inline

Definition at line 42 of file qtessellator.cpp.

Referenced by QTessellator::QTessellator().

+ Here is the caller graph for this function:

Member Function Documentation

◆ addEdges()

◆ addIntersections()

void QTessellatorPrivate::addIntersections ( )

Definition at line 1134 of file qtessellator.cpp.

References QTessellatorPrivate::Scanline::clearMarks(), QMap< Key, T >::constBegin(), QTessellatorPrivate::Edge::edge, QTessellatorPrivate::Scanline::edges, i, QTessellatorPrivate::Edge::intersect_left, QTessellatorPrivate::Edge::intersect_right, intersections, QDEBUG, scanline, and QTessellatorPrivate::Scanline::size.

+ Here is the call graph for this function:

◆ cancelCoincidingEdges()

◆ collectAndSortVertices()

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

Definition at line 570 of file qtessellator.cpp.

References compareVertex(), QTessellatorPrivate::Vertex::flags, FloatToQ27Dot5, i, j, LineAfterEnds, LineAfterHorizontal, LineAfterStarts, LineBeforeEnds, LineBeforeHorizontal, LineBeforeStarts, QTessellatorPrivate::Vertices::nPoints, QDEBUG, qMax(), qMin(), QTessellatorPrivate::Vertices::sorted, QTessellatorPrivate::Vertices::storage, vertices, and y.

+ Here is the call graph for this function:

◆ emitEdges()

void QTessellatorPrivate::emitEdges ( QTessellator * tessellator)

Definition at line 755 of file qtessellator.cpp.

References emit_clever, fillTrapezoid(), i, QTessellatorPrivate::Edge::mark, QTessellatorPrivate::Scanline::old, QTessellatorPrivate::Scanline::old_size, qMax(), scanline, vertices, QTessellatorPrivate::Edge::winding, winding, y, QTessellatorPrivate::Edge::y_left, and QTessellatorPrivate::Edge::y_right.

+ Here is the call graph for this function:

◆ processIntersections()

◆ removeEdges()

Member Data Documentation

◆ currentVertex

int QTessellatorPrivate::currentVertex

Definition at line 197 of file qtessellator.cpp.

Referenced by addEdges(), and removeEdges().

◆ intersections

Intersections QTessellatorPrivate::intersections

Definition at line 193 of file qtessellator.cpp.

Referenced by addIntersections(), and processIntersections().

◆ scanline

Scanline QTessellatorPrivate::scanline

◆ vertices

◆ winding

bool QTessellatorPrivate::winding

Definition at line 195 of file qtessellator.cpp.

Referenced by cancelCoincidingEdges(), and emitEdges().

◆ y

Q27Dot5 QTessellatorPrivate::y

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