]> Shamusworld >> Repos - architektonas/blobdiff - src/base/linetypepattern.cpp
Major refactor of Architektonas: Jettisoning old cruft.
[architektonas] / src / base / linetypepattern.cpp
diff --git a/src/base/linetypepattern.cpp b/src/base/linetypepattern.cpp
deleted file mode 100644 (file)
index b7c3757..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// linetypepattern.cpp
-//
-// Part of the Architektonas Project
-// Originally part of QCad Community Edition by Andrew Mustun
-// Extensively rewritten and refactored by James L. Hammons
-// Portions copyright (C) 2001-2003 RibbonSoft
-// Copyright (C) 2010 Underground Software
-// See the README and GPLv2 files for licensing and warranty information
-//
-// JLH = James L. Hammons <jlhamm@acm.org>
-//
-// Who  When        What
-// ---  ----------  -----------------------------------------------------------
-// JLH  06/01/2010  Added this text. :-)
-//
-
-#include "linetypepattern.h"
-
-LineTypePattern::LineTypePattern(int count ...)
-{
-       va_list ap;
-       int i = 0;
-       num = count;
-
-       va_start(ap, count);
-       pattern = new double[num];
-
-       for(i=0; i<count; i++)
-               pattern[i] = va_arg(ap, double);
-
-       va_end(ap);
-}
-
-LineTypePattern::~LineTypePattern()
-{
-       delete[] pattern;
-}