My Project
Classes | Public Types | Public Member Functions | Friends | List of all members
ParaEngine::QPainterPath Class Reference

Classes

class  Element
 

Public Types

enum  ElementType { MoveToElement, LineToElement, CurveToElement, CurveToDataElement }
 

Public Member Functions

 QPainterPath (const QPointF &startPoint)
 
 QPainterPath (const QPainterPath &other)
 
QPainterPathoperator= (const QPainterPath &other)
 
void swap (QPainterPath &other)
 
void closeSubpath ()
 
void moveTo (const QPointF &p)
 
void moveTo (float x, float y)
 
void lineTo (const QPointF &p)
 
void lineTo (float x, float y)
 
void arcMoveTo (const QRectF &rect, float angle)
 
void arcMoveTo (float x, float y, float w, float h, float angle)
 
void arcTo (const QRectF &rect, float startAngle, float arcLength)
 
void arcTo (float x, float y, float w, float h, float startAngle, float arcLength)
 
void cubicTo (const QPointF &ctrlPt1, const QPointF &ctrlPt2, const QPointF &endPt)
 
void cubicTo (float ctrlPt1x, float ctrlPt1y, float ctrlPt2x, float ctrlPt2y, float endPtx, float endPty)
 
void quadTo (const QPointF &ctrlPt, const QPointF &endPt)
 
void quadTo (float ctrlPtx, float ctrlPty, float endPtx, float endPty)
 
QPointF currentPosition () const
 
void addRect (const QRectF &rect)
 
void addRect (float x, float y, float w, float h)
 
void addEllipse (const QRectF &rect)
 
void addEllipse (float x, float y, float w, float h)
 
void addEllipse (const QPointF &center, float rx, float ry)
 
void addPolygon (const QPolygonF &polygon)
 
void addText (const QPointF &point, const QFont &f, const std::string &text)
 
void addText (float x, float y, const QFont &f, const std::string &text)
 
void addPath (const QPainterPath &path)
 
void addRegion (const QRegion &region)
 
void addRoundedRect (const QRectF &rect, float xRadius, float yRadius, SizeMode mode=AbsoluteSize)
 
void addRoundedRect (float x, float y, float w, float h, float xRadius, float yRadius, SizeMode mode=AbsoluteSize)
 
void addRoundRect (const QRectF &rect, int xRnd, int yRnd)
 
void addRoundRect (float x, float y, float w, float h, int xRnd, int yRnd)
 
void addRoundRect (const QRectF &rect, int roundness)
 
void addRoundRect (float x, float y, float w, float h, int roundness)
 
void connectPath (const QPainterPath &path)
 
bool contains (const QPointF &pt) const
 
bool contains (const QRectF &rect) const
 
bool intersects (const QRectF &rect) const
 
void translate (float dx, float dy)
 
void translate (const QPointF &offset)
 
QPainterPath translated (float dx, float dy) const
 
QPainterPath translated (const QPointF &offset) const
 
QRectF boundingRect () const
 
QRectF controlPointRect () const
 
FillRule fillRule () const
 
void setFillRule (FillRule fillRule)
 
bool isEmpty () const
 
QPainterPath toReversed () const
 
std::list< QPolygonFtoSubpathPolygons (const QMatrix &matrix=QMatrix()) const
 
std::list< QPolygonFtoFillPolygons (const QMatrix &matrix=QMatrix()) const
 
QPolygonF toFillPolygon (const QMatrix &matrix=QMatrix()) const
 
std::list< QPolygonFtoSubpathPolygons (const QTransform &matrix) const
 
std::list< QPolygonFtoFillPolygons (const QTransform &matrix) const
 
QPolygonF toFillPolygon (const QTransform &matrix) const
 
int elementCount () const
 
QPainterPath::Element elementAt (int i) const
 
void setElementPositionAt (int i, float x, float y)
 
float length () const
 
float percentAtLength (float t) const
 
QPointF pointAtPercent (float t) const
 
float angleAtPercent (float t) const
 
float slopeAtPercent (float t) const
 
bool intersects (const QPainterPath &p) const
 
bool contains (const QPainterPath &p) const
 
QPainterPath united (const QPainterPath &r) const
 
QPainterPath intersected (const QPainterPath &r) const
 
QPainterPath subtracted (const QPainterPath &r) const
 
QPainterPath subtractedInverted (const QPainterPath &r) const
 
QPainterPath simplified () const
 
bool operator== (const QPainterPath &other) const
 
bool operator!= (const QPainterPath &other) const
 
QPainterPath operator & (const QPainterPath &other) const
 
QPainterPath operator| (const QPainterPath &other) const
 
QPainterPath operator+ (const QPainterPath &other) const
 
QPainterPath operator- (const QPainterPath &other) const
 
QPainterPathoperator &= (const QPainterPath &other)
 
QPainterPathoperator|= (const QPainterPath &other)
 
QPainterPathoperator+= (const QPainterPath &other)
 
QPainterPathoperator-= (const QPainterPath &other)
 
const QVectorPathvectorPath () const
 

Friends

class QMatrix
 
class QTransform
 

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