markus / MarkupToPDF / Common / Undo_data.cs @ 19d602e0
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Windows; |
4 |
using System.IO; |
5 |
using System.Linq; |
6 |
using System.Text; |
7 |
using System.Windows.Media; |
8 |
|
9 |
namespace MarkupToPDF.Common |
10 |
{ |
11 |
public class UndoData |
12 |
{ |
13 |
public UndoData(CommentUserInfo markup) |
14 |
{ |
15 |
Markup = markup; |
16 |
} |
17 |
|
18 |
public CommentUserInfo Markup { get; set; } |
19 |
public CommentUserInfo Clone { get; set; } |
20 |
public List<Point> PointSet { get; set; } |
21 |
public double Angle { get; set; } |
22 |
} |
23 |
|
24 |
public class UndoDataGroup |
25 |
{ |
26 |
public UndoDataGroup() |
27 |
{ |
28 |
EventTime = DateTime.Now; |
29 |
} |
30 |
|
31 |
public EventType Event { get; set; } |
32 |
public List<UndoData> MarkupDataColl { get; } = new List<UndoData>(); |
33 |
public bool IsUndo { get; set; } |
34 |
public DateTime EventTime { get; set; } |
35 |
public MarkupToPDF.Controls.Common.PaintSet paint { get; set; } |
36 |
} |
37 |
|
38 |
public enum EventType |
39 |
{ |
40 |
Create, |
41 |
Delete, |
42 |
Operation |
43 |
} |
44 |
} |