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

Classes

struct  Line
 

Public Member Functions

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

Detailed Description

Definition at line 97 of file qrasterizer.cpp.

Constructor & Destructor Documentation

◆ QScanConverter()

QScanConverter::QScanConverter ( )

Definition at line 178 of file qrasterizer.cpp.

◆ ~QScanConverter()

QScanConverter::~QScanConverter ( )

Definition at line 187 of file qrasterizer.cpp.

Member Function Documentation

◆ begin()

void QScanConverter::begin ( int top,
int bottom,
int left,
int right,
Qt::FillRule fillRule,
QSpanBuffer * spanBuffer )

Definition at line 193 of file qrasterizer.cpp.

References IntToQScFixed, and Qt::WindingFill.

Referenced by QRasterizer::rasterize(), and QRasterizer::rasterize().

+ Here is the caller graph for this function:

◆ end()

void QScanConverter::end ( )

Definition at line 343 of file qrasterizer.cpp.

References CHUNK_SIZE, end(), i, it, line, qMax(), qMin(), and QScFixedToInt.

Referenced by end(), QRasterizer::rasterize(), and QRasterizer::rasterize().

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

◆ mergeCurve()

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 439 of file qrasterizer.cpp.

References d, d2, mergeLine(), qAbs(), QT_FT_Pos, split(), QT_FT_Vector_::x, and QT_FT_Vector_::y.

Referenced by QRasterizer::rasterize(), and QRasterizer::rasterize().

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

◆ mergeLine()

void QScanConverter::mergeLine ( QT_FT_Vector a,
QT_FT_Vector b )

Definition at line 551 of file qrasterizer.cpp.

References FloatToQScFixed, FTPosToQScFixed, IntToQScFixed, line, Q_ASSERT, qBound(), qMax(), qMin(), QScFixed, QScFixedFactor, QScFixedMultiply, and qSwap().

Referenced by mergeCurve(), QRasterizer::rasterize(), and QRasterizer::rasterize().

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

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