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 LDFile* generatePrimitive (PrimitiveType type, int segs, int divs, int num); |
108 LDFile* generatePrimitive (PrimitiveType type, int segs, int divs, int num); |
108 |
109 |
109 // 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 |
110 // be automatically generated. |
111 // be automatically generated. |
111 LDFile* getPrimitive (PrimitiveType type, int segs, int divs, int num); |
112 LDFile* getPrimitive (PrimitiveType type, int segs, int divs, int num); |
112 |
113 |
113 #endif // PRIMITIVES_H |
114 str radialFileName (PrimitiveType type, int segs, int divs, int num); |
|
115 |
|
116 #endif // LDFORGE_PRIMITIVES_H |