프로젝트

일반

사용자정보

개정판 a6272c57

IDa6272c573947c9daab7529a31cf3cf428aee51c9
상위 a715d06e
하위 9fcc0151

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

issue #923: add ICommentUserInfo interface

Change-Id: Id0b65251436a5aa647eef78026dfad90d3ca64ab

차이점 보기:

MarkupToPDF/Controls/Line/LineControl.cs
487 487
        }
488 488

  
489 489
        /// <summary>
490
        /// call when mouse is moving while drawing control
491
        /// </summary>
492
        /// <author>humkyung</author>
493
        /// <param name="pt"></param>
494
        /// <param name="bAxisLocked"></param>
495
        public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed)
496
        {
497
            if (this.ControlType == ControlType.DimLine)
498
                this.LineStyleSet = LineStyleSet.DimLine;
499
            else if (this.ControlType == ControlType.TwinLine)
500
                this.LineStyleSet = LineStyleSet.TwinLine;
501
            else if(this.ControlType == ControlType.ArrowLine)
502
                this.LineStyleSet = LineStyleSet.ArrowLine;
503
            else if(this.ControlType == ControlType.CancelLine)
504
                this.LineStyleSet = LineStyleSet.CancelLine;
505
            else if(this.ControlType == ControlType.SingleLine)
506
                this.LineStyleSet = LineStyleSet.SingleLine;
507

  
508
            this.EndPoint = pt;
509
            
510
            if (bAxisLocked || bShiftKeyPressed)
511
            {
512
                Point tmp = this.EndPoint;
513
                string angle = MathSet.returnAngleString(this.StartPoint, ref tmp, true);
514
                this.EndPoint = tmp;
515
            }
516

  
517
            this.PointSet = new List<Point>
518
            {
519
                this.StartPoint,
520
                this.EndPoint,
521
            };
522
        }
523

  
524
        /// <summary>
490 525
        /// return linecontrols' area
491 526
        /// </summary>
492 527
        /// <author>humkyung</author>

내보내기 Unified diff

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