프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / MarkupToPDF / Common / Undo_data.cs @ 02a9f323

이력 | 보기 | 이력해설 | 다운로드 (1.29 KB)

1 787a4489 KangIngu
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 b79d6e7f humkyung
    public class UndoData
12 787a4489 KangIngu
    {
13 873011c4 humkyung
        public CommentUserInfo Markup { get; set; }
14
        public CommentUserInfo Clone { get; set; }
15
        public List<Point> PointSet { get; set; }
16 787a4489 KangIngu
        public double LineSize { get; set; }
17
        public DoubleCollection DashSize { get; set; }
18
        public Double Opacity { get; set; }
19 873011c4 humkyung
        public Controls.Common.PaintSet paint { get; set; }
20
        public double Angle { get; set; }
21 787a4489 KangIngu
    }
22
23 873011c4 humkyung
    public class UndoDataGroup
24 787a4489 KangIngu
    {
25 02a9f323 humkyung
        public UndoDataGroup() 
26
        {
27
            EventTime = DateTime.Now;
28
        }
29
30 873011c4 humkyung
        public EventType Event { get; set; }
31 02a9f323 humkyung
        public List<UndoData> MarkupDataColl { get; } = new List<UndoData>();
32 873011c4 humkyung
        public bool IsUndo { get; set; }
33
        public DateTime EventTime { get; set; }
34 787a4489 KangIngu
        public double LineSize { get; set; }
35 873011c4 humkyung
        public double Interval { get; set; }
36 787a4489 KangIngu
        public DoubleCollection DashSize { get; set; }
37
        public Double Opacity { get; set; }
38 873011c4 humkyung
        public MarkupToPDF.Controls.Common.PaintSet paint { get; set; }
39 787a4489 KangIngu
    }
40
41 873011c4 humkyung
    public enum EventType
42 787a4489 KangIngu
    {
43
        Create,
44 873011c4 humkyung
        Delete,
45
        Operation
46 787a4489 KangIngu
    }
47
}
클립보드 이미지 추가 (최대 크기: 500 MB)