diff options
Diffstat (limited to 'UVtools.Core/Gerber/Primitives/Primitive.cs')
-rw-r--r-- | UVtools.Core/Gerber/Primitives/Primitive.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/UVtools.Core/Gerber/Primitives/Primitive.cs b/UVtools.Core/Gerber/Primitives/Primitive.cs index 9658a24..0a7740f 100644 --- a/UVtools.Core/Gerber/Primitives/Primitive.cs +++ b/UVtools.Core/Gerber/Primitives/Primitive.cs @@ -6,6 +6,7 @@ * of this license document, but changing it is not allowed. */ +using System; using System.Drawing; using Emgu.CV; using Emgu.CV.CvEnum; @@ -26,5 +27,7 @@ public abstract class Primitive public abstract void DrawFlashD3(Mat mat, SizeF xyPpmm, PointF at, MCvScalar color, LineType lineType = LineType.EightConnected); - public abstract void ParseExpressions(params string[] args); + public abstract void ParseExpressions(GerberDocument document, params string[] args); + + public virtual Primitive Clone() => (Primitive)MemberwiseClone(); }
\ No newline at end of file |