mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-09 01:52:32 +02:00
67fbec1fff
- **PCB Exposure:** - (Fix) Able to omit X or Y coordinate and use last known value in place - (Fix) Reusing macros in apertures was causing to use the last aperture values for all previous apertures that share the same macro name - (Fix) Implement the inch measurement (%MOIN*%) - (Fix) Crash when redo the operation (Ctrl + Shift + Z) - **UI - Issue list:** - (Add) Context menu when right click issues to select an action - (Add) Option to solidify suction cups when right click on the issue - (Improvement) Better confirmation text when click on remove issue(s) with detailed list of actions
33 lines
965 B
C#
33 lines
965 B
C#
/*
|
|
* GNU AFFERO GENERAL PUBLIC LICENSE
|
|
* Version 3, 19 November 2007
|
|
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
* Everyone is permitted to copy and distribute verbatim copies
|
|
* of this license document, but changing it is not allowed.
|
|
*/
|
|
|
|
using System;
|
|
using System.Drawing;
|
|
using Emgu.CV;
|
|
using Emgu.CV.CvEnum;
|
|
using Emgu.CV.Structure;
|
|
|
|
namespace UVtools.Core.Gerber.Primitives;
|
|
|
|
public abstract class Primitive
|
|
{
|
|
#region Properties
|
|
public abstract string Name { get; }
|
|
|
|
public bool IsParsed { get; protected set; } = false;
|
|
|
|
#endregion
|
|
|
|
protected Primitive() { }
|
|
|
|
public abstract void DrawFlashD3(Mat mat, SizeF xyPpmm, PointF at, MCvScalar color, LineType lineType = LineType.EightConnected);
|
|
|
|
public abstract void ParseExpressions(GerberDocument document, params string[] args);
|
|
|
|
public virtual Primitive Clone() => (Primitive)MemberwiseClone();
|
|
} |