![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
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 |
Definition at line 102 of file qtessellator.cpp.
| QTessellatorPrivate::Scanline::Scanline | ( | ) |
Definition at line 361 of file qtessellator.cpp.
| QTessellatorPrivate::Scanline::~Scanline | ( | ) |
Definition at line 398 of file qtessellator.cpp.
| QTessellatorPrivate::Scanline::Scanline | ( | ) |
| QTessellatorPrivate::Scanline::~Scanline | ( | ) |
| void QTessellatorPrivate::Scanline::clearMarks | ( | ) |
Definition at line 450 of file qtessellator.cpp.
References edges, QTessellatorPrivate::Edge::intersect_left, QTessellatorPrivate::Edge::intersect_right, QTessellatorPrivate::Edge::mark, and size.
Referenced by QTessellator::tessellate().
| void QTessellatorPrivate::Scanline::clearMarks | ( | ) |
| void QTessellatorPrivate::Scanline::done | ( | ) |
Definition at line 386 of file qtessellator.cpp.
Referenced by QTessellator::tessellate().
| void QTessellatorPrivate::Scanline::done | ( | ) |
| int QTessellatorPrivate::Scanline::findEdge | ( | int | edge | ) | const |
Definition at line 439 of file qtessellator.cpp.
References QTessellatorPrivate::Edge::edge, edges, and size.
Referenced by QTessellatorPrivate::processIntersections(), and QTessellatorPrivate::removeEdges().
| int QTessellatorPrivate::Scanline::findEdge | ( | int | edge | ) | const |
| int QTessellatorPrivate::Scanline::findEdgePosition | ( | const Edge & | e | ) | const |
Definition at line 421 of file qtessellator.cpp.
References edges, QTessellatorPrivate::Edge::isLeftOf(), size, QTessellatorPrivate::Edge::v0, and QTessellator::Vertex::y.
Referenced by QTessellatorPrivate::addEdges().
| int QTessellatorPrivate::Scanline::findEdgePosition | ( | const Edge & | e | ) | const |
Definition at line 405 of file qtessellator.cpp.
References edges, QTessellatorPrivate::Edge::positionAt(), and size.
Referenced by QTessellatorPrivate::addEdges().
| void QTessellatorPrivate::Scanline::init | ( | int | maxActiveEdges | ) |
Definition at line 368 of file qtessellator.cpp.
References QTessellatorPrivate::Edge::edge, edges, old_size, and size.
Referenced by QTessellator::tessellate().
| void QTessellatorPrivate::Scanline::init | ( | int | maxActiveEdges | ) |
Definition at line 485 of file qtessellator.cpp.
References QTessellatorPrivate::Edge::edge, edges, and size.
Referenced by QTessellatorPrivate::addEdges().
| void QTessellatorPrivate::Scanline::lineDone | ( | ) |
Definition at line 472 of file qtessellator.cpp.
References QTessellatorPrivate::Edge::edge, QTessellatorPrivate::Edge::free, old, and old_size.
Referenced by QTessellator::tessellate().
| void QTessellatorPrivate::Scanline::lineDone | ( | ) |
| void QTessellatorPrivate::Scanline::markEdges | ( | int | pos1, |
| int | pos2 ) |
Definition at line 504 of file qtessellator.cpp.
References edges, and QTessellatorPrivate::Edge::mark.
Referenced by QTessellatorPrivate::addEdges().
| void QTessellatorPrivate::Scanline::markEdges | ( | int | pos1, |
| int | pos2 ) |
| void QTessellatorPrivate::Scanline::prepareLine | ( | ) |
Definition at line 459 of file qtessellator.cpp.
References edges, old, old_size, and size.
Referenced by QTessellator::tessellate().
| void QTessellatorPrivate::Scanline::prepareLine | ( | ) |
| void QTessellatorPrivate::Scanline::removeAt | ( | int | pos | ) |
Definition at line 496 of file qtessellator.cpp.
References edges, QTessellatorPrivate::Edge::free, and size.
Referenced by QTessellatorPrivate::removeEdges().
| void QTessellatorPrivate::Scanline::removeAt | ( | int | pos | ) |
|
inline |
Definition at line 115 of file qtessellator.cpp.
References edges.
|
inline |
Definition at line 115 of file qtessellator.cpp.
| Edge ** QTessellatorPrivate::Scanline::edges |
Definition at line 130 of file qtessellator.cpp.
Referenced by Scanline(), ~Scanline(), QTessellatorPrivate::addEdges(), QTessellatorPrivate::addIntersections(), clearMarks(), done(), findEdge(), findEdgePosition(), findEdgePosition(), init(), insert(), markEdges(), prepareLine(), QTessellatorPrivate::processIntersections(), removeAt(), QTessellatorPrivate::removeEdges(), and swap().
| Edge ** QTessellatorPrivate::Scanline::old |
Definition at line 127 of file qtessellator.cpp.
Referenced by Scanline(), ~Scanline(), done(), QTessellatorPrivate::emitEdges(), lineDone(), and prepareLine().
| int QTessellatorPrivate::Scanline::old_size |
Definition at line 128 of file qtessellator.cpp.
Referenced by QTessellatorPrivate::emitEdges(), init(), lineDone(), and prepareLine().
| int QTessellatorPrivate::Scanline::size |
Definition at line 131 of file qtessellator.cpp.
Referenced by QTessellatorPrivate::addEdges(), QTessellatorPrivate::addIntersections(), clearMarks(), findEdge(), findEdgePosition(), findEdgePosition(), init(), insert(), prepareLine(), QTessellatorPrivate::processIntersections(), removeAt(), and QTessellatorPrivate::removeEdges().