프로젝트

일반

사용자정보

개정판 a6272c57

IDa6272c573947c9daab7529a31cf3cf428aee51c9
상위 a715d06e
하위 9fcc0151

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

issue #923: add ICommentUserInfo interface

Change-Id: Id0b65251436a5aa647eef78026dfad90d3ca64ab

차이점 보기:

MarkupToPDF/Controls/Text/ArrowTextControl.cs
1499 1499
        }
1500 1500

  
1501 1501
        /// <summary>
1502
        /// call when mouse is moving while drawing control
1503
        /// </summary>
1504
        /// <author>humkyung</author>
1505
        /// <param name="pt"></param>
1506
        /// <param name="bAxisLocked"></param>
1507
        public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed)
1508
        {
1509
            this.EndPoint = pt;
1510

  
1511
            if (bAxisLocked || bShiftKeyPressed)
1512
            {
1513
                Point tempPoint = this.EndPoint;
1514
                string angle = MathSet.returnAngleString(this.StartPoint, ref tempPoint, true);
1515
                this.EndPoint = tempPoint;
1516
            }
1517

  
1518
            this.MidPoint = MathSet.getMiddlePoint(this.StartPoint, this.EndPoint);
1519
            this.isFixed = (this.ControlType == ControlType.ArrowTransTextControl) || 
1520
                (this.ControlType == ControlType.ArrowTransTextBorderControl) || (this.ControlType == ControlType.ArrowTransTextCloudControl);
1521

  
1522
            this.PointSet = new List<Point>
1523
            {
1524
                this.StartPoint,
1525
                this.MidPoint,
1526
                this.EndPoint,
1527
            };
1528
        }
1529

  
1530
        /// <summary>
1502 1531
        /// return ArrowTextControl's area
1503 1532
        /// </summary>
1504 1533
        /// <author>humkyung</author>

내보내기 Unified diff

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