102 |
102 |
103 public slots: |
103 public slots: |
104 void hiResToggled (bool on); |
104 void hiResToggled (bool on); |
105 }; |
105 }; |
106 |
106 |
107 void makeCircle (int segs, int divs, double radius, List< QLineF >& lines); |
107 void makeCircle (int segs, int divs, double radius, List<QLineF>& lines); |
108 LDFile* generatePrimitive (PrimitiveType type, int segs, int divs, int num); |
108 LDFile* generatePrimitive (PrimitiveType type, int segs, int divs, int num); |
109 |
109 |
110 // Gets a primitive by the given specs. If the primitive cannot be found, it will |
110 // Gets a primitive by the given specs. If the primitive cannot be found, it will |
111 // be automatically generated. |
111 // be automatically generated. |
112 LDFile* getPrimitive (PrimitiveType type, int segs, int divs, int num); |
112 LDFile* getPrimitive (PrimitiveType type, int segs, int divs, int num); |