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