Scribus
Open source desktop publishing at your fingertips
FPointArray Class Reference
Inheritance diagram for FPointArray:
Collaboration diagram for FPointArray:

Public Member Functions

 FPointArray (int size)
 
 FPointArray (const FPointArray &a)
 
int size () const
 
bool resize (int newCount)
 
void reverse ()
 
void setPoint (int i, double x, double y)
 
void setPoint (int i, FPoint p)
 
bool setPoints (int nPoints, double firstx, double firsty,...)
 
bool putPoints (int index, int nPoints, double firstx, double firsty,...)
 
bool putPoints (int index, int nPoints, const FPointArray &from, int fromIndex=0)
 
void point (int i, double *x, double *y) const
 
const FPointpoint (int i) const
 
QPoint pointQ (int i) const
 
QPointF pointQF (int i) const
 
void translate (double dx, double dy)
 
void scale (double sx, double sy)
 
QRectF boundingRect ()
 
FPoint WidthHeight () const
 
void map (QTransform m)
 
FPointArrayoperator= (const FPointArray &a)
 
FPointArray copy () const
 
void setMarker ()
 
bool isMarker (int pos) const
 
bool isMarkerI (ConstIterator p) const
 
bool isMarkerD (double x, double y) const
 
void addPoint (double x, double y)
 
void addPoint (FPoint p)
 
bool hasLastQuadPoint (double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4) const
 
void addQuadPoint (double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4)
 
void addQuadPoint (FPoint p1, FPoint p2, FPoint p3, FPoint p4)
 
double lenPathSeg (int seg) const
 
double lenPathDist (int seg, double t1, double t2) const
 
void pointTangentNormalAt (int seg, double t, FPoint *p, FPoint *tn, FPoint *n) const
 
void pointDerivativesAt (int seg, double t, FPoint *p, FPoint *d1, FPoint *d2) const
 
void svgInit ()
 
void svgMoveTo (double x, double y)
 
void svgLineTo (double x, double y)
 
void svgCurveToCubic (double x1, double y1, double x2, double y2, double x3, double y3)
 
void svgArcTo (double r1, double r2, double angle, bool largeArcFlag, bool sweepFlag, double x1, double y1)
 
void svgClosePath ()
 
void calculateArc (bool relative, double &curx, double &cury, double angle, double x, double y, double r1, double r2, bool largeArcFlag, bool sweepFlag)
 
bool parseSVG (const QString &svgPath)
 
QString svgPath (bool closed=false) const
 
QPainterPath toQPainterPath (bool closed)
 
void fromQPainterPath (QPainterPath &path, bool close=false)
 

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