src/primitives.h

changeset 503
bebe09014dd6
parent 500
cad8cdc42a64
child 504
6a1fa662bfc1
equal deleted inserted replaced
502:f6534d591f80 503:bebe09014dd6
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);

mercurial