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

Public Member Functions

 Scanline ()
 
 ~Scanline ()
 
void init (int maxActiveEdges)
 
void done ()
 
int findEdgePosition (Q27Dot5 x, Q27Dot5 y) const
 
int findEdgePosition (const Edge &e) const
 
int findEdge (int edge) const
 
void clearMarks ()
 
void swap (int p1, int p2)
 
void insert (int pos, const Edge &e)
 
void removeAt (int pos)
 
void markEdges (int pos1, int pos2)
 
void prepareLine ()
 
void lineDone ()
 
 Scanline ()
 
 ~Scanline ()
 
void init (int maxActiveEdges)
 
void done ()
 
int findEdgePosition (Q27Dot5 x, Q27Dot5 y) const
 
int findEdgePosition (const Edge &e) const
 
int findEdge (int edge) const
 
void clearMarks ()
 
void swap (int p1, int p2)
 
void insert (int pos, const Edge &e)
 
void removeAt (int pos)
 
void markEdges (int pos1, int pos2)
 
void prepareLine ()
 
void lineDone ()
 

Public Attributes

Edge ** old
 
int old_size
 
Edge ** edges
 
int size
 

Detailed Description

Definition at line 101 of file qtessellator.cpp.

Constructor & Destructor Documentation

◆ Scanline() [1/2]

QTessellatorPrivate::Scanline::Scanline ( )

Definition at line 360 of file qtessellator.cpp.

References edges, and old.

◆ ~Scanline() [1/2]

QTessellatorPrivate::Scanline::~Scanline ( )

Definition at line 397 of file qtessellator.cpp.

References edges, and old.

◆ Scanline() [2/2]

QTessellatorPrivate::Scanline::Scanline ( )

◆ ~Scanline() [2/2]

QTessellatorPrivate::Scanline::~Scanline ( )

Member Function Documentation

◆ clearMarks() [1/2]

void QTessellatorPrivate::Scanline::clearMarks ( )

Definition at line 449 of file qtessellator.cpp.

References edges, QTessellatorPrivate::Edge::intersect_left, QTessellatorPrivate::Edge::intersect_right, QTessellatorPrivate::Edge::mark, and size.

Referenced by QTessellator::tessellate().

+ Here is the caller graph for this function:

◆ clearMarks() [2/2]

void QTessellatorPrivate::Scanline::clearMarks ( )

◆ done() [1/2]

void QTessellatorPrivate::Scanline::done ( )

Definition at line 385 of file qtessellator.cpp.

References edges, and old.

Referenced by QTessellator::tessellate().

+ Here is the caller graph for this function:

◆ done() [2/2]

void QTessellatorPrivate::Scanline::done ( )

◆ findEdge() [1/2]

int QTessellatorPrivate::Scanline::findEdge ( int edge) const

Definition at line 438 of file qtessellator.cpp.

References QTessellatorPrivate::Edge::edge, edges, and size.

Referenced by QTessellatorPrivate::processIntersections(), and QTessellatorPrivate::removeEdges().

+ Here is the caller graph for this function:

◆ findEdge() [2/2]

int QTessellatorPrivate::Scanline::findEdge ( int edge) const

◆ findEdgePosition() [1/4]

int QTessellatorPrivate::Scanline::findEdgePosition ( const Edge & e) const

Definition at line 420 of file qtessellator.cpp.

References edges, QTessellatorPrivate::Edge::isLeftOf(), size, QTessellatorPrivate::Edge::v0, and QTessellator::Vertex::y.

Referenced by QTessellatorPrivate::addEdges().

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

◆ findEdgePosition() [2/4]

int QTessellatorPrivate::Scanline::findEdgePosition ( const Edge & e) const

◆ findEdgePosition() [3/4]

int QTessellatorPrivate::Scanline::findEdgePosition ( Q27Dot5 x,
Q27Dot5 y ) const

Definition at line 404 of file qtessellator.cpp.

References edges, QTessellatorPrivate::Edge::positionAt(), and size.

Referenced by QTessellatorPrivate::addEdges().

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

◆ findEdgePosition() [4/4]

int QTessellatorPrivate::Scanline::findEdgePosition ( Q27Dot5 x,
Q27Dot5 y ) const

◆ init() [1/2]

void QTessellatorPrivate::Scanline::init ( int maxActiveEdges)

Definition at line 367 of file qtessellator.cpp.

References QTessellatorPrivate::Edge::edge, edges, old_size, and size.

Referenced by QTessellator::tessellate().

+ Here is the caller graph for this function:

◆ init() [2/2]

void QTessellatorPrivate::Scanline::init ( int maxActiveEdges)

◆ insert() [1/2]

void QTessellatorPrivate::Scanline::insert ( int pos,
const Edge & e )

Definition at line 484 of file qtessellator.cpp.

References QTessellatorPrivate::Edge::edge, edges, and size.

Referenced by QTessellatorPrivate::addEdges().

+ Here is the caller graph for this function:

◆ insert() [2/2]

void QTessellatorPrivate::Scanline::insert ( int pos,
const Edge & e )

◆ lineDone() [1/2]

void QTessellatorPrivate::Scanline::lineDone ( )

Definition at line 471 of file qtessellator.cpp.

References QTessellatorPrivate::Edge::edge, QTessellatorPrivate::Edge::free, old, and old_size.

Referenced by QTessellator::tessellate().

+ Here is the caller graph for this function:

◆ lineDone() [2/2]

void QTessellatorPrivate::Scanline::lineDone ( )

◆ markEdges() [1/2]

void QTessellatorPrivate::Scanline::markEdges ( int pos1,
int pos2 )

Definition at line 503 of file qtessellator.cpp.

References edges, and QTessellatorPrivate::Edge::mark.

Referenced by QTessellatorPrivate::addEdges().

+ Here is the caller graph for this function:

◆ markEdges() [2/2]

void QTessellatorPrivate::Scanline::markEdges ( int pos1,
int pos2 )

◆ prepareLine() [1/2]

void QTessellatorPrivate::Scanline::prepareLine ( )

Definition at line 458 of file qtessellator.cpp.

References edges, old, old_size, and size.

Referenced by QTessellator::tessellate().

+ Here is the caller graph for this function:

◆ prepareLine() [2/2]

void QTessellatorPrivate::Scanline::prepareLine ( )

◆ removeAt() [1/2]

void QTessellatorPrivate::Scanline::removeAt ( int pos)

Definition at line 495 of file qtessellator.cpp.

References edges, QTessellatorPrivate::Edge::free, and size.

Referenced by QTessellatorPrivate::removeEdges().

+ Here is the caller graph for this function:

◆ removeAt() [2/2]

void QTessellatorPrivate::Scanline::removeAt ( int pos)

◆ swap() [1/2]

void QTessellatorPrivate::Scanline::swap ( int p1,
int p2 )
inline

Definition at line 114 of file qtessellator.cpp.

References edges.

◆ swap() [2/2]

void QTessellatorPrivate::Scanline::swap ( int p1,
int p2 )
inline

Definition at line 114 of file qtessellator.cpp.

Member Data Documentation

◆ edges

◆ old

Edge ** QTessellatorPrivate::Scanline::old

◆ old_size

int QTessellatorPrivate::Scanline::old_size

Definition at line 127 of file qtessellator.cpp.

Referenced by QTessellatorPrivate::emitEdges(), init(), lineDone(), and prepareLine().

◆ size


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