Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | Class Members

QS_ArcWrapper Class Reference

Wrapper class for arc entities. More...

#include <qs_arcwrapper.h>

Inheritance diagram for QS_ArcWrapper:

QS_EntityWrapper List of all members.

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.

Detailed Description

Wrapper class for arc entities.


Constructor & Destructor Documentation

QS_ArcWrapper::QS_ArcWrapper QS_DocumentWrapper doc,
double  cx,
double  cy,
double  cr,
double  a1,
double  a2,
bool  cw
[inline]
 

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);
 

QS_ArcWrapper::QS_ArcWrapper QS_DocumentWrapper doc,
QS_VectorWrapper c,
double  cr,
double  a1,
double  a2,
bool  cw
[inline]
 

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);
 


The documentation for this class was generated from the following file:
Generated on Sat May 6 04:36:12 2006 for qcadscripting by  doxygen 1.4.4