markus / KCOM / Events / Move.cs @ a5b465dc
이력 | 보기 | 이력해설 | 다운로드 (1.58 KB)
1 | 787a4489 | KangIngu | using MarkupToPDF.Common; |
---|---|---|---|
2 | using MarkupToPDF.Controls.Common; |
||
3 | using MarkupToPDF.Controls.Line; |
||
4 | using MarkupToPDF.Controls.Polygon; |
||
5 | using MarkupToPDF.Controls.Shape; |
||
6 | using MarkupToPDF.Controls.Text; |
||
7 | using MarkupToPDF.Controls.Etc; |
||
8 | using System; |
||
9 | using System.Collections.Generic; |
||
10 | using System.Linq; |
||
11 | using System.Text; |
||
12 | using System.Windows; |
||
13 | using System.Windows.Controls; |
||
14 | using System.Windows.Media; |
||
15 | 684ef11c | ljiyeon | using MarkupToPDF.Controls.Cad; |
16 | 787a4489 | KangIngu | |
17 | namespace KCOM.Events |
||
18 | { |
||
19 | public class Move |
||
20 | { |
||
21 | #region 변수 선언 |
||
22 | public SelectControl selectcontrol; |
||
23 | Vector rectSize; |
||
24 | Rect itemRect; |
||
25 | Point s_point; |
||
26 | Point e_point; |
||
27 | Rect DragRect; |
||
28 | #endregion |
||
29 | |||
30 | Point[] StartPoint |
||
31 | { |
||
32 | get; |
||
33 | set; |
||
34 | } |
||
35 | |||
36 | Point[] MidPoint |
||
37 | { |
||
38 | get; |
||
39 | set; |
||
40 | } |
||
41 | |||
42 | Point[] EndPoint |
||
43 | { |
||
44 | get; |
||
45 | set; |
||
46 | } |
||
47 | |||
48 | public List<Point> PointSet |
||
49 | { |
||
50 | get; |
||
51 | set; |
||
52 | } |
||
53 | |||
54 | public CommentUserInfo CurrentControl |
||
55 | { |
||
56 | get; |
||
57 | set; |
||
58 | } |
||
59 | |||
60 | public MouseMode mousemode |
||
61 | { |
||
62 | get; |
||
63 | set; |
||
64 | } |
||
65 | |||
66 | 3797ff05 | djkim | /// <summary> |
67 | /// Control Select 여부 확인 |
||
68 | /// </summary> |
||
69 | /// <param name="OverViewPathData"></param> |
||
70 | /// <returns>Select여부</returns> |
||
71 | 787a4489 | KangIngu | public Boolean IsSelectionControl(Geometry OverViewPathData) |
72 | { |
||
73 | if (DragRect.Contains(itemRect)) |
||
74 | return true; |
||
75 | else |
||
76 | return false; |
||
77 | } |
||
78 | } |
||
79 | } |