Qt 4.8
|
Classes | |
struct | Intersection |
struct | Line |
Public Functions | |
void | begin (int top, int bottom, int left, int right, Qt::FillRule fillRule, QSpanBuffer *spanBuffer) |
void | end () |
void | mergeCurve (const QT_FT_Vector &a, const QT_FT_Vector &b, const QT_FT_Vector &c, const QT_FT_Vector &d) |
void | mergeLine (QT_FT_Vector a, QT_FT_Vector b) |
QScanConverter () | |
~QScanConverter () | |
Private Functions | |
void | allocate (int size) |
bool | clip (Q16Dot16 &xFP, int &iTop, int &iBottom, Q16Dot16 slopeFP, Q16Dot16 edgeFP, int winding) |
void | emitNode (const Intersection *node) |
void | emitSpans (int chunk) |
void | mergeIntersection (Intersection *head, const Intersection &isect) |
void | prepareChunk () |
Properties | |
QDataBuffer< Line * > | m_active |
int | m_alloc |
int | m_bottom |
int | m_fillRuleMask |
Intersection * | m_intersections |
Q16Dot16 | m_leftFP |
QDataBuffer< Line > | m_lines |
Q16Dot16 | m_rightFP |
int | m_size |
QSpanBuffer * | m_spanBuffer |
int | m_top |
int | m_winding |
int | m_x |
int | m_y |
Friends | |
template<typename T > | |
void | qScanConvert (QScanConverter &d, T allVertical) |
Definition at line 125 of file qrasterizer.cpp.
QScanConverter::QScanConverter | ( | ) |
Definition at line 206 of file qrasterizer.cpp.
QScanConverter::~QScanConverter | ( | ) |
Definition at line 215 of file qrasterizer.cpp.
|
inlineprivate |
Definition at line 448 of file qrasterizer.cpp.
Referenced by end(), and prepareChunk().
void QScanConverter::begin | ( | int | top, |
int | bottom, | ||
int | left, | ||
int | right, | ||
Qt::FillRule | fillRule, | ||
QSpanBuffer * | spanBuffer | ||
) |
Definition at line 221 of file qrasterizer.cpp.
Referenced by QRasterizer::rasterize().
|
inlineprivate |
Definition at line 524 of file qrasterizer.cpp.
Referenced by mergeLine().
|
private |
Definition at line 243 of file qrasterizer.cpp.
Referenced by emitSpans().
|
private |
void QScanConverter::end | ( | ) |
Definition at line 381 of file qrasterizer.cpp.
Referenced by QRasterizer::rasterize().
void QScanConverter::mergeCurve | ( | const QT_FT_Vector & | a, |
const QT_FT_Vector & | b, | ||
const QT_FT_Vector & | c, | ||
const QT_FT_Vector & | d | ||
) |
Definition at line 477 of file qrasterizer.cpp.
Referenced by QRasterizer::rasterize().
|
inlineprivate |
void QScanConverter::mergeLine | ( | QT_FT_Vector | a, |
QT_FT_Vector | b | ||
) |
Definition at line 589 of file qrasterizer.cpp.
Referenced by mergeCurve(), and QRasterizer::rasterize().
|
private |
|
friend |
Definition at line 319 of file qrasterizer.cpp.
Referenced by end().
|
private |
Definition at line 189 of file qrasterizer.cpp.
Referenced by qScanConvert().
|
private |
Definition at line 170 of file qrasterizer.cpp.
Referenced by allocate(), and end().
|
private |
Definition at line 174 of file qrasterizer.cpp.
Referenced by begin(), end(), mergeLine(), and qScanConvert().
|
private |
Definition at line 179 of file qrasterizer.cpp.
Referenced by begin(), emitNode(), and qScanConvert().
|
private |
Definition at line 185 of file qrasterizer.cpp.
Referenced by allocate(), emitSpans(), end(), mergeIntersection(), prepareChunk(), and ~QScanConverter().
|
private |
Definition at line 176 of file qrasterizer.cpp.
Referenced by begin(), and mergeLine().
|
private |
Definition at line 168 of file qrasterizer.cpp.
Referenced by begin(), clip(), end(), mergeLine(), and qScanConvert().
|
private |
Definition at line 177 of file qrasterizer.cpp.
Referenced by begin(), clip(), and mergeLine().
|
private |
Definition at line 171 of file qrasterizer.cpp.
Referenced by end(), mergeIntersection(), and prepareChunk().
|
private |
Definition at line 187 of file qrasterizer.cpp.
Referenced by begin(), emitNode(), and qScanConvert().
|
private |
Definition at line 173 of file qrasterizer.cpp.
Referenced by begin(), end(), and mergeLine().
|
private |
Definition at line 183 of file qrasterizer.cpp.
Referenced by emitNode(), and emitSpans().
|
private |
Definition at line 181 of file qrasterizer.cpp.
Referenced by emitNode(), and emitSpans().
|
private |
Definition at line 182 of file qrasterizer.cpp.
Referenced by emitNode(), and emitSpans().