src/primitives.h

changeset 500
cad8cdc42a64
parent 498
791c831c8020
child 503
bebe09014dd6
--- a/src/primitives.h	Sun Oct 06 21:37:05 2013 +0300
+++ b/src/primitives.h	Wed Oct 16 15:32:38 2013 +0300
@@ -16,8 +16,8 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef PRIMITIVES_H
-#define PRIMITIVES_H
+#ifndef LDFORGE_PRIMITIVES_H
+#define LDFORGE_PRIMITIVES_H
 
 #include "common.h"
 #include "types.h"
@@ -104,10 +104,13 @@
 		void hiResToggled (bool on);
 };
 
+void makeCircle (int segs, int divs, double radius, List< QLineF >& lines);
 LDFile* generatePrimitive (PrimitiveType type, int segs, int divs, int num);
 
 // Gets a primitive by the given specs. If the primitive cannot be found, it will
 // be automatically generated.
 LDFile* getPrimitive (PrimitiveType type, int segs, int divs, int num);
 
-#endif // PRIMITIVES_H
+str radialFileName (PrimitiveType type, int segs, int divs, int num);
+
+#endif // LDFORGE_PRIMITIVES_H

mercurial