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
56 lines
1.5 KiB
C#
56 lines
1.5 KiB
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.Drawing;
|
||
using Emgu.CV;
|
||
using Emgu.CV.CvEnum;
|
||
using Emgu.CV.Structure;
|
||
|
||
namespace UVtools.Core.Gerber.Primitives;
|
||
|
||
/// <summary>
|
||
/// The comment primitive has no effect on the image but adds human-readable comments in an AM command.
|
||
/// The comment primitive starts with the ‘0’ code followed by a space and then a single-line text string.
|
||
/// The text string follows the syntax for strings in section 3.4.3.
|
||
/// </summary>
|
||
public class CommentPrimitive : Primitive
|
||
{
|
||
#region Constants
|
||
public const byte Code = 0;
|
||
#endregion
|
||
#region Properties
|
||
public override string Name => "Comment";
|
||
|
||
/// <summary>
|
||
/// The comment
|
||
/// 1
|
||
/// </summary>
|
||
public string Comment { get; set; } = string.Empty;
|
||
#endregion
|
||
|
||
public CommentPrimitive()
|
||
{
|
||
IsParsed = true;
|
||
}
|
||
|
||
public CommentPrimitive(string comment)
|
||
{
|
||
Comment = comment;
|
||
IsParsed = true;
|
||
}
|
||
|
||
|
||
public override void DrawFlashD3(Mat mat, SizeF xyPpmm, PointF at, MCvScalar color, LineType lineType = LineType.EightConnected)
|
||
{
|
||
|
||
}
|
||
|
||
public override void ParseExpressions(GerberDocument document, params string[] args)
|
||
{
|
||
}
|
||
} |