#include <qtcanvas.h>
Inherits QtCanvasItem, and QtCanvasItem.
Inherited by QtCanvasEllipse, QtCanvasEllipse, QtCanvasLine, QtCanvasLine, QtCanvasPolygon, QtCanvasPolygon, QtCanvasRectangle, and QtCanvasRectangle.
|
QPolygon | chunks () const |
|
QPolygon | chunks () const |
|
bool | collidesWith (const QtCanvasSprite *, const QtCanvasPolygonalItem *, const QtCanvasRectangle *, const QtCanvasEllipse *, const QtCanvasText *) const |
|
bool | collidesWith (const QtCanvasSprite *, const QtCanvasPolygonalItem *, const QtCanvasRectangle *, const QtCanvasEllipse *, const QtCanvasText *) const |
|
void | scanPolygon (const QPolygon &pa, int winding, QPolygonalProcessor &process) const |
|
void | scanPolygon (const QPolygon &pa, int winding, QPolygonalProcessor &process) const |
|
|
enum | RttiValues {
Rtti_Item = 0,
Rtti_Sprite = 1,
Rtti_PolygonalItem = 2,
Rtti_Text = 3,
Rtti_Polygon = 4,
Rtti_Rectangle = 5,
Rtti_Ellipse = 6,
Rtti_Line = 7,
Rtti_Spline = 8,
Rtti_Item = 0,
Rtti_Sprite = 1,
Rtti_PolygonalItem = 2,
Rtti_Text = 3,
Rtti_Polygon = 4,
Rtti_Rectangle = 5,
Rtti_Ellipse = 6,
Rtti_Line = 7,
Rtti_Spline = 8
} |
|
enum | RttiValues {
Rtti_Item = 0,
Rtti_Sprite = 1,
Rtti_PolygonalItem = 2,
Rtti_Text = 3,
Rtti_Polygon = 4,
Rtti_Rectangle = 5,
Rtti_Ellipse = 6,
Rtti_Line = 7,
Rtti_Spline = 8,
Rtti_Item = 0,
Rtti_Sprite = 1,
Rtti_PolygonalItem = 2,
Rtti_Text = 3,
Rtti_Polygon = 4,
Rtti_Rectangle = 5,
Rtti_Ellipse = 6,
Rtti_Line = 7,
Rtti_Spline = 8
} |
|
◆ QtCanvasPolygonalItem() [1/2]
QtCanvasPolygonalItem::QtCanvasPolygonalItem |
( |
QtCanvas * |
canvas | ) |
|
◆ ~QtCanvasPolygonalItem() [1/2]
QtCanvasPolygonalItem::~QtCanvasPolygonalItem |
( |
| ) |
|
|
virtual |
◆ QtCanvasPolygonalItem() [2/2]
QtCanvasPolygonalItem::QtCanvasPolygonalItem |
( |
QtCanvas * |
canvas | ) |
|
◆ ~QtCanvasPolygonalItem() [2/2]
virtual QtCanvasPolygonalItem::~QtCanvasPolygonalItem |
( |
| ) |
|
|
virtual |
◆ areaPoints() [1/2]
virtual QPolygon QtCanvasPolygonalItem::areaPoints |
( |
| ) |
const |
|
pure virtual |
◆ areaPoints() [2/2]
virtual QPolygon QtCanvasPolygonalItem::areaPoints |
( |
| ) |
const |
|
pure virtual |
◆ areaPointsAdvanced() [1/2]
QPolygon QtCanvasPolygonalItem::areaPointsAdvanced |
( |
| ) |
const |
|
virtual |
◆ areaPointsAdvanced() [2/2]
virtual QPolygon QtCanvasPolygonalItem::areaPointsAdvanced |
( |
| ) |
const |
|
virtual |
◆ boundingRect() [1/2]
QRect QtCanvasPolygonalItem::boundingRect |
( |
| ) |
const |
|
virtual |
◆ boundingRect() [2/2]
QRect QtCanvasPolygonalItem::boundingRect |
( |
| ) |
const |
|
virtual |
◆ brush() [1/2]
QBrush QtCanvasPolygonalItem::brush |
( |
| ) |
const |
|
inline |
◆ brush() [2/2]
QBrush QtCanvasPolygonalItem::brush |
( |
| ) |
const |
|
inline |
◆ chunks() [1/2]
QPolygon QtCanvasPolygonalItem::chunks |
( |
| ) |
const |
|
privatevirtual |
◆ chunks() [2/2]
QPolygon QtCanvasPolygonalItem::chunks |
( |
| ) |
const |
|
privatevirtual |
◆ collidesWith() [1/4]
bool QtCanvasPolygonalItem::collidesWith |
( |
const QtCanvasItem * |
i | ) |
const |
|
virtual |
◆ collidesWith() [2/4]
bool QtCanvasPolygonalItem::collidesWith |
( |
const QtCanvasItem * |
| ) |
const |
|
virtual |
◆ collidesWith() [3/4]
◆ collidesWith() [4/4]
◆ draw() [1/2]
void QtCanvasPolygonalItem::draw |
( |
QPainter & |
p | ) |
|
|
protectedvirtual |
◆ draw() [2/2]
void QtCanvasPolygonalItem::draw |
( |
QPainter & |
| ) |
|
|
protectedvirtual |
◆ drawShape() [1/2]
virtual void QtCanvasPolygonalItem::drawShape |
( |
QPainter & |
| ) |
|
|
protectedpure virtual |
◆ drawShape() [2/2]
virtual void QtCanvasPolygonalItem::drawShape |
( |
QPainter & |
| ) |
|
|
protectedpure virtual |
◆ invalidate() [1/2]
void QtCanvasPolygonalItem::invalidate |
( |
| ) |
|
|
protected |
◆ invalidate() [2/2]
void QtCanvasPolygonalItem::invalidate |
( |
| ) |
|
|
protected |
◆ isValid() [1/2]
bool QtCanvasPolygonalItem::isValid |
( |
| ) |
const |
|
inlineprotected |
◆ isValid() [2/2]
bool QtCanvasPolygonalItem::isValid |
( |
| ) |
const |
|
inlineprotected |
◆ pen() [1/2]
QPen QtCanvasPolygonalItem::pen |
( |
| ) |
const |
|
inline |
◆ pen() [2/2]
QPen QtCanvasPolygonalItem::pen |
( |
| ) |
const |
|
inline |
◆ rtti() [1/2]
int QtCanvasPolygonalItem::rtti |
( |
| ) |
const |
|
virtual |
Reimplemented from QtCanvasItem.
Reimplemented in QtCanvasEllipse, QtCanvasEllipse, QtCanvasLine, QtCanvasLine, QtCanvasSpline, QtCanvasSpline, QtCanvasPolygon, QtCanvasPolygon, QtCanvasRectangle, and QtCanvasRectangle.
References RTTI, QtCanvasText::RTTI, and QtCanvasItem::Rtti_PolygonalItem.
Referenced by QPolygonalProcessor::doSpans().
◆ rtti() [2/2]
int QtCanvasPolygonalItem::rtti |
( |
| ) |
const |
|
virtual |
◆ scanPolygon() [1/2]
void QtCanvasPolygonalItem::scanPolygon |
( |
const QPolygon & |
pa, |
|
|
int |
winding, |
|
|
QPolygonalProcessor & |
process |
|
) |
| const |
|
private |
◆ scanPolygon() [2/2]
void QtCanvasPolygonalItem::scanPolygon |
( |
const QPolygon & |
pa, |
|
|
int |
winding, |
|
|
QPolygonalProcessor & |
process |
|
) |
| const |
|
private |
◆ setBrush() [1/2]
void QtCanvasPolygonalItem::setBrush |
( |
QBrush |
b | ) |
|
|
virtual |
◆ setBrush() [2/2]
virtual void QtCanvasPolygonalItem::setBrush |
( |
QBrush |
b | ) |
|
|
virtual |
◆ setPen() [1/2]
virtual void QtCanvasPolygonalItem::setPen |
( |
QPen |
p | ) |
|
|
virtual |
◆ setPen() [2/2]
void QtCanvasPolygonalItem::setPen |
( |
QPen |
p | ) |
|
|
virtual |
◆ setWinding() [1/2]
void QtCanvasPolygonalItem::setWinding |
( |
bool |
enable | ) |
|
|
protected |
◆ setWinding() [2/2]
void QtCanvasPolygonalItem::setWinding |
( |
bool |
| ) |
|
|
protected |
◆ winding() [1/2]
bool QtCanvasPolygonalItem::winding |
( |
| ) |
const |
|
protected |
◆ winding() [2/2]
bool QtCanvasPolygonalItem::winding |
( |
| ) |
const |
|
protected |
◆ br
QBrush QtCanvasPolygonalItem::br |
|
private |
◆ pn
QPen QtCanvasPolygonalItem::pn |
|
private |
◆ RTTI
◆ wind
uint QtCanvasPolygonalItem::wind |
|
private |
The documentation for this class was generated from the following files: