개정판 e1b36bc0
Feature: Grouping 기능 추가(Ctrl+G : Group, Ctrl+Shift+G : Ungroup)
Change-Id: I99a3309acd55799ff7101522feaa035225b80e48
MarkupToPDF/Controls/Etc/SymControlN.cs | ||
---|---|---|
39 | 39 |
|
40 | 40 |
public override void Copy(CommentUserInfo lhs) |
41 | 41 |
{ |
42 |
if (lhs is SymControlN symControlN)
|
|
42 |
if (lhs is SymControlN item)
|
|
43 | 43 |
{ |
44 |
this.PointSet = symControlN.PointSet.ConvertAll(x => new Point(x.X, x.Y)); |
|
45 |
this.StartPoint = new Point(symControlN.StartPoint.X, symControlN.StartPoint.Y); |
|
46 |
this.TopRightPoint = new Point(symControlN.TopRightPoint.X, symControlN.TopRightPoint.Y); |
|
47 |
this.EndPoint = new Point(symControlN.EndPoint.X, symControlN.EndPoint.Y); |
|
48 |
this.LeftBottomPoint = new Point(symControlN.LeftBottomPoint.X, symControlN.LeftBottomPoint.Y); |
|
49 |
this.PointSet = symControlN.PointSet.ConvertAll(x => new Point(x.X, x.Y)); |
|
50 |
this.CommentAngle = symControlN.CommentAngle; |
|
51 |
this.Opacity = symControlN.Opacity; |
|
52 |
this.PathXathData = symControlN.PathXathData; |
|
53 |
this.Memo = symControlN.Memo; |
|
54 |
this.ZIndex = symControlN.ZIndex; |
|
44 |
this.PointSet = item.PointSet.ConvertAll(x => new Point(x.X, x.Y)); |
|
45 |
this.StartPoint = new Point(item.StartPoint.X, item.StartPoint.Y); |
|
46 |
this.TopRightPoint = new Point(item.TopRightPoint.X, item.TopRightPoint.Y); |
|
47 |
this.EndPoint = new Point(item.EndPoint.X, item.EndPoint.Y); |
|
48 |
this.LeftBottomPoint = new Point(item.LeftBottomPoint.X, item.LeftBottomPoint.Y); |
|
49 |
this.PointSet = item.PointSet.ConvertAll(x => new Point(x.X, x.Y)); |
|
50 |
this.CommentAngle = item.CommentAngle; |
|
51 |
this.Opacity = item.Opacity; |
|
52 |
this.PathXathData = item.PathXathData; |
|
53 |
this.Memo = item.Memo; |
|
54 |
this.ZIndex = item.ZIndex; |
|
55 |
GroupID = item.GroupID; |
|
55 | 56 |
} |
56 | 57 |
} |
57 | 58 |
|
... | ... | |
537 | 538 |
ctrl.Opac = this.Opacity; |
538 | 539 |
ctrl.Name = this.GetType().Name.ToString(); |
539 | 540 |
ctrl.ZIndex = this.ZIndex; |
541 |
ctrl.GroupID = this.GroupID; |
|
540 | 542 |
|
541 | 543 |
return "|DZ|" + JsonSerializerHelper.CompressString((ctrl.JsonSerialize())); |
542 | 544 |
} |
... | ... | |
562 | 564 |
Opacity = s.Opac, |
563 | 565 |
PathXathData = s.DBData, |
564 | 566 |
Memo = s.Memo, |
565 |
ZIndex = s.ZIndex |
|
567 |
ZIndex = s.ZIndex, |
|
568 |
GroupID = s.GroupID |
|
566 | 569 |
}; |
567 | 570 |
} |
568 | 571 |
} |
내보내기 Unified diff