QCAD
Open Source 2D CAD
simple_create.js File Reference

Functions

void addArc (void center, void radius, void startAngle, void endAngle, void reversed)
 Adds an arc to the drawing. More...
 
void addCircle (void center, void radius)
 Adds a circle to the drawing. More...
 
void addEntity (void entity)
 Adds the given REntity to the drawing using layer and attributes as set by the entity. More...
 
void addLayer (void name, void colorName, void linetypeName, void lineWeight)
 Adds a layer to the drawing. More...
 
void addLine (void startPoint, void endPoint)
 Adds a line to the drawing. More...
 
void addObject (void obj)
 Adds the given RObject to the drawing. More...
 
void addPoint (void position)
 Adds a point to the drawing. More...
 
void addPolyline (void points, void closed, void relative)
 Adds a polyline to the drawing. More...
 
void addShape (void shape)
 Adds the given RShape to the drawing as a new entity using current layer and attributes. More...
 
void addSimpleText (void text, void position, void height, void angle, void font, void vAlign, void hAlign, void bold, void italic)
 Adds a simple text to the drawing. More...
 
void addSpline (void points, void closed)
 Adds a spline to the drawing. More...