#include <qs_arcwrapper.h>
Inheritance diagram for QS_ArcWrapper:

Public Member Functions | |
| QS_ArcWrapper (RS_Arc *a) | |
| QS_ArcWrapper (QS_DocumentWrapper &doc, double cx, double cy, double cr, double a1, double a2, bool cw) | |
| Constructor for an arc with coordinates as center. | |
| QS_ArcWrapper (QS_DocumentWrapper &doc, QS_VectorWrapper &c, double cr, double a1, double a2, bool cw) | |
| Constructor for an arc with a vector as center. | |
|
||||||||||||||||||||||||||||||||
|
Constructor for an arc with coordinates as center. This example script creates a new arc:
var doc = new Document;
var arc = new Arc(doc, // document
50.0,50.0, // center (x/y)
100.0, // radius
0.0, Math.PI/2, // start / end angle
false); // direction (counter clock wise)
doc.addEntity(arc);
|
|
||||||||||||||||||||||||||||
|
Constructor for an arc with a vector as center. This example script creates a new arc:
var doc = new Document;
var center = new Vector(50,50);
var arc = new Arc(doc, // document
center, // center
100.0, // radius
0.0, Math.PI/2, // start / end angle
false); // direction (counter clock wise)
doc.addEntity(arc);
|
1.4.4