src/primitives.h

changeset 784
f82ab4d3c7b4
parent 655
b376645315ab
child 794
c254ddc6618b
equal deleted inserted replaced
783:1db20d88650f 784:f82ab4d3c7b4
119 public slots: 119 public slots:
120 void hiResToggled (bool on); 120 void hiResToggled (bool on);
121 }; 121 };
122 122
123 void makeCircle (int segs, int divs, double radius, QList<QLineF>& lines); 123 void makeCircle (int segs, int divs, double radius, QList<QLineF>& lines);
124 LDDocument* generatePrimitive (PrimitiveType type, int segs, int divs, int num); 124 LDDocumentPtr generatePrimitive (PrimitiveType type, int segs, int divs, int num);
125 125
126 // Gets a primitive by the given specs. If the primitive cannot be found, it will 126 // Gets a primitive by the given specs. If the primitive cannot be found, it will
127 // be automatically generated. 127 // be automatically generated.
128 LDDocument* getPrimitive (PrimitiveType type, int segs, int divs, int num); 128 LDDocumentPtr getPrimitive (PrimitiveType type, int segs, int divs, int num);
129 129
130 QString radialFileName (PrimitiveType type, int segs, int divs, int num); 130 QString radialFileName (PrimitiveType type, int segs, int divs, int num);

mercurial