Eneboo - Documentación para desarrolladores
|
#include <qpolygonscanner.h>
Tipos públicos | |
enum | Edge { Left = 1, Right = 2, Top = 4, Bottom = 8, Left = 1, Right = 2, Top = 4, Bottom = 8 } |
enum | Edge { Left = 1, Right = 2, Top = 4, Bottom = 8, Left = 1, Right = 2, Top = 4, Bottom = 8 } |
Métodos públicos | |
void | scan (const QPointArray &pa, bool winding, int index=0, int npoints=-1) |
void | scan (const QPointArray &pa, bool winding, int index, int npoints, bool stitchable) |
void | scan (const QPointArray &pa, bool winding, int index, int npoints, Edge edges) |
virtual void | processSpans (int n, QPoint *point, int *width)=0 |
void | scan (const QPointArray &pa, bool winding, int index=0, int npoints=-1) |
void | scan (const QPointArray &pa, bool winding, int index, int npoints, bool stitchable) |
void | scan (const QPointArray &pa, bool winding, int index, int npoints, Edge edges) |
virtual void | processSpans (int n, QPoint *point, int *width)=0 |
Implementado en QCanvasPolygonScanner.
Implementado en QCanvasPolygonScanner.
void QPolygonScanner::scan | ( | const QPointArray & | pa, |
bool | winding, | ||
int | index, | ||
int | npoints, | ||
Edge | edges | ||
) |
void QPolygonScanner::scan | ( | const QPointArray & | pa, |
bool | winding, | ||
int | index, | ||
int | npoints, | ||
bool | stitchable | ||
) |
void QPolygonScanner::scan | ( | const QPointArray & | pa, |
bool | winding, | ||
int | index = 0 , |
||
int | npoints = -1 |
||
) |
void QPolygonScanner::scan | ( | const QPointArray & | pa, |
bool | winding, | ||
int | index = 0 , |
||
int | npoints = -1 |
||
) |
Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta.
void QPolygonScanner::scan | ( | const QPointArray & | pa, |
bool | winding, | ||
int | index, | ||
int | npoints, | ||
Edge | edges | ||
) |
Calls processSpans() for all scanlines of the polygon defined by npoints starting at index in pa.
If winding is TRUE, the Winding algorithm rather than the Odd-Even rule is used.
The edges is any bitwise combination of: QPolygonScanner::Left
QPolygonScanner::Right
QPolygonScanner::Top
QPolygonScanner::Bottom
edges determines which edges are included.
void QPolygonScanner::scan | ( | const QPointArray & | pa, |
bool | winding, | ||
int | index, | ||
int | npoints, | ||
bool | stitchable | ||
) |
Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta. If stitchable is FALSE, the right and bottom edges of the polygon are included. This causes adjacent polygons to overlap.