프로젝트

일반

사용자정보

개정판 e1b36bc0

IDe1b36bc0efb056d5a5031e446a140716ceb97cd8
상위 d5c34b1d
하위 8118ba81

백흠경이(가) 5달 전에 추가함

Feature: Grouping 기능 추가(Ctrl+G : Group, Ctrl+Shift+G : Ungroup)

Change-Id: I99a3309acd55799ff7101522feaa035225b80e48

차이점 보기:

MarkupToPDF/Controls/Line/ArcControl.cs
43 43

  
44 44
        public override void Copy(CommentUserInfo lhs)
45 45
        {
46
            if (lhs is ArcControl ArcCtrl)
47
            {
48
                this.StartPoint = new Point(ArcCtrl.StartPoint.X, ArcCtrl.StartPoint.Y);
49
                this.EndPoint = new Point(ArcCtrl.EndPoint.X, ArcCtrl.EndPoint.Y);
50
                this.DashSize = ArcCtrl.DashSize;
51
                this.PointSet = ArcCtrl.PointSet.ConvertAll(x => new Point(x.X, x.Y));
52
                this.isTransOn = ArcCtrl.isTransOn;
53
                this.MidPoint = new Point(ArcCtrl.MidPoint.X, ArcCtrl.MidPoint.Y);
54
                this.StrokeColor = ArcCtrl.StrokeColor;
55
                this.Opacity = ArcCtrl.Opacity;
56
                this.Clock = ArcCtrl.Clock;
57
                this.LineSize = ArcCtrl.LineSize;
58
                this.UserID = ArcCtrl.UserID;
59
                this.Memo = ArcCtrl.Memo;
46
            if (lhs is ArcControl item)
47
            {
48
                this.StartPoint = new Point(item.StartPoint.X, item.StartPoint.Y);
49
                this.EndPoint = new Point(item.EndPoint.X, item.EndPoint.Y);
50
                this.DashSize = item.DashSize;
51
                this.PointSet = item.PointSet.ConvertAll(x => new Point(x.X, x.Y));
52
                this.isTransOn = item.isTransOn;
53
                this.MidPoint = new Point(item.MidPoint.X, item.MidPoint.Y);
54
                this.StrokeColor = item.StrokeColor;
55
                this.Opacity = item.Opacity;
56
                this.Clock = item.Clock;
57
                this.LineSize = item.LineSize;
58
                this.UserID = item.UserID;
59
                this.Memo = item.Memo;
60
                ZIndex = item.ZIndex;
61
                GroupID = item.GroupID;
60 62
            }
61 63
        }
62 64

  
......
672 674
                ctrl.Memo = this.Memo;
673 675

  
674 676
                ctrl.ZIndex = this.ZIndex;
677
                ctrl.GroupID = this.GroupID;
675 678

  
676 679
                return "|DZ|" + JsonSerializerHelper.CompressString((ctrl.JsonSerialize()));
677 680
            }
......
702 705
                    LineSize = Convert.ToDouble(data2.First()),
703 706
                    UserID = s.UserID,
704 707
                    Memo = s.Memo,
705
                    ZIndex = s.ZIndex
708
                    ZIndex = s.ZIndex,
709
                    GroupID = s.GroupID
706 710
                };
707 711
            }
708 712

  

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)