![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qtessellator_p.h"
#include <QRect>
#include <QList>
#include <QMap>
#include <QDebug>
#include <qmath.h>
#include <limits.h>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | QTessellatorPrivate |
struct | QTessellatorPrivate::Vertex |
struct | QTessellatorPrivate::Intersection |
struct | QTessellatorPrivate::IntersectionLink |
struct | QTessellatorPrivate::Edge |
class | QTessellatorPrivate::EdgeSorter |
class | QTessellatorPrivate::Scanline |
struct | QTessellatorPrivate::Vertices |
struct | QCoincidingEdge |
Macros | |
#define | QDEBUG if (1){} else qDebug |
Enumerations | |
enum | VertexFlags { LineBeforeStarts = 0x1 , LineBeforeEnds = 0x2 , LineBeforeHorizontal = 0x4 , LineAfterStarts = 0x8 , LineAfterEnds = 0x10 , LineAfterHorizontal = 0x20 , LineBeforeStarts = 0x1 , LineBeforeEnds = 0x2 , LineBeforeHorizontal = 0x4 , LineAfterStarts = 0x8 , LineAfterEnds = 0x10 , LineAfterHorizontal = 0x20 } |
enum | VertexFlags { LineBeforeStarts = 0x1 , LineBeforeEnds = 0x2 , LineBeforeHorizontal = 0x4 , LineAfterStarts = 0x8 , LineAfterEnds = 0x10 , LineAfterHorizontal = 0x20 , LineBeforeStarts = 0x1 , LineBeforeEnds = 0x2 , LineBeforeHorizontal = 0x4 , LineAfterStarts = 0x8 , LineAfterEnds = 0x10 , LineAfterHorizontal = 0x20 } |
Functions | |
static bool | sameSign (qint64 a, qint64 b) |
static bool | compareVertex (const QTessellatorPrivate::Vertex *p1, const QTessellatorPrivate::Vertex *p2) |
static void | fillTrapezoid (Q27Dot5 y1, Q27Dot5 y2, int left, int right, const QTessellatorPrivate::Vertices &vertices, QTessellator::Trapezoid *trap) |
static void | cancelEdges (QCoincidingEdge &e1, QCoincidingEdge &e2) |
Variables | |
static const bool | emit_clever = true |
static const bool | mark_clever = false |
Definition at line 22 of file qtessellator.cpp.
enum VertexFlags |
Definition at line 28 of file qtessellator.cpp.
enum VertexFlags |
Definition at line 28 of file qtessellator.cpp.
|
static |
Definition at line 671 of file qtessellator.cpp.
References QCoincidingEdge::before, QCoincidingEdge::end, QTessellatorPrivate::Vertex::flags, LineAfterEnds, LineAfterHorizontal, LineAfterStarts, LineBeforeEnds, LineBeforeHorizontal, LineBeforeStarts, QCoincidingEdge::start, and QCoincidingEdge::used.
|
inlinestatic |
Definition at line 333 of file qtessellator.cpp.
References QTessellator::Vertex::x, and QTessellator::Vertex::y.
Referenced by QTessellatorPrivate::collectAndSortVertices().
|
inlinestatic |
Definition at line 553 of file qtessellator.cpp.
References QTessellator::Trapezoid::bottom, QTessellator::Trapezoid::bottomLeft, QTessellator::Trapezoid::bottomRight, QTessellatorPrivate::Vertices::next(), QTessellatorPrivate::Vertices::operator[](), QTessellator::Trapezoid::top, QTessellator::Trapezoid::topLeft, QTessellator::Trapezoid::topRight, and QTessellator::Vertex::y.
Referenced by QTessellatorPrivate::emitEdges().
Definition at line 245 of file qtessellator.cpp.
|
static |
Definition at line 25 of file qtessellator.cpp.
|
static |
Definition at line 26 of file qtessellator.cpp.
Referenced by QTessellatorPrivate::addEdges().