115 |
115 |
116 public slots: |
116 public slots: |
117 void hiResToggled (bool on); |
117 void hiResToggled (bool on); |
118 }; |
118 }; |
119 |
119 |
120 void makeCircle (int segs, int divs, double radius, QList<QLineF>& lines); |
120 void MakeCircle (int segs, int divs, double radius, QList<QLineF>& lines); |
121 LDDocumentPtr generatePrimitive (PrimitiveType type, int segs, int divs, int num); |
121 LDDocumentPtr GeneratePrimitive (PrimitiveType type, int segs, int divs, int num); |
122 |
122 |
123 // Gets a primitive by the given specs. If the primitive cannot be found, it will |
123 // Gets a primitive by the given specs. If the primitive cannot be found, it will |
124 // be automatically generated. |
124 // be automatically generated. |
125 LDDocumentPtr getPrimitive (PrimitiveType type, int segs, int divs, int num); |
125 LDDocumentPtr GetPrimitive (PrimitiveType type, int segs, int divs, int num); |
126 |
126 |
127 QString radialFileName (PrimitiveType type, int segs, int divs, int num); |
127 QString MakeRadialFileName (PrimitiveType type, int segs, int divs, int num); |