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

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

QTessellatorPrivate::Scanline::Scanline ( )

Definition at line 360 of file qtessellator.cpp.

◆ ~Scanline()

QTessellatorPrivate::Scanline::~Scanline ( )

Definition at line 397 of file qtessellator.cpp.

Member Function Documentation

◆ clearMarks()

void QTessellatorPrivate::Scanline::clearMarks ( )

Definition at line 449 of file qtessellator.cpp.

References i.

Referenced by QTessellatorPrivate::addIntersections().

+ Here is the caller graph for this function:

◆ done()

void QTessellatorPrivate::Scanline::done ( )

Definition at line 385 of file qtessellator.cpp.

◆ findEdge()

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

Definition at line 438 of file qtessellator.cpp.

References i.

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

+ Here is the caller graph for this function:

◆ findEdgePosition() [1/2]

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

Definition at line 420 of file qtessellator.cpp.

References pos, QTessellatorPrivate::Edge::v0, and QTessellator::Vertex::y.

◆ findEdgePosition() [2/2]

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

Definition at line 404 of file qtessellator.cpp.

References pos.

Referenced by QTessellatorPrivate::addEdges().

+ Here is the caller graph for this function:

◆ init()

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

Definition at line 367 of file qtessellator.cpp.

References i, and qMax().

+ Here is the call graph for this function:

◆ insert()

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

Definition at line 484 of file qtessellator.cpp.

References QTessellatorPrivate::Edge::edge, pos, and Q_ASSERT.

Referenced by QTessellatorPrivate::addEdges().

+ Here is the caller graph for this function:

◆ lineDone()

void QTessellatorPrivate::Scanline::lineDone ( )

Definition at line 471 of file qtessellator.cpp.

References QTessellatorPrivate::Edge::edge.

◆ markEdges()

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

Definition at line 503 of file qtessellator.cpp.

References i.

Referenced by QTessellatorPrivate::addEdges().

+ Here is the caller graph for this function:

◆ prepareLine()

void QTessellatorPrivate::Scanline::prepareLine ( )

Definition at line 458 of file qtessellator.cpp.

References o.

◆ removeAt()

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

Definition at line 495 of file qtessellator.cpp.

References QTessellatorPrivate::Edge::free, and pos.

Referenced by QTessellatorPrivate::removeEdges().

+ Here is the caller graph for this function:

◆ swap()

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

Definition at line 114 of file qtessellator.cpp.

References edges, p1, and p2.

Member Data Documentation

◆ edges

◆ old

Edge** QTessellatorPrivate::Scanline::old

Definition at line 126 of file qtessellator.cpp.

Referenced by QTessellatorPrivate::emitEdges().

◆ old_size

int QTessellatorPrivate::Scanline::old_size

Definition at line 127 of file qtessellator.cpp.

Referenced by QTessellatorPrivate::emitEdges().

◆ size


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