프로젝트

일반

사용자정보

개정판 a6272c57

IDa6272c573947c9daab7529a31cf3cf428aee51c9
상위 a715d06e
하위 9fcc0151

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

issue #923: add ICommentUserInfo interface

Change-Id: Id0b65251436a5aa647eef78026dfad90d3ca64ab

차이점 보기:

MarkupToPDF/Controls/Line/ArrowControl_Multi.cs
351 351
        }
352 352

  
353 353
        /// <summary>
354
        /// call when mouse is moving while drawing control
355
        /// </summary>
356
        /// <author>humkyung</author>
357
        /// <param name="pt"></param>
358
        /// <param name="bAxisLocked"></param>
359
        public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed)
360
        {
361
            this.EndPoint = pt;
362
            if (this.MiddlePoint == new Point(0, 0))
363
            {
364
                if (bAxisLocked || bShiftKeyPressed)
365
                {
366
                    Point tmp = this.EndPoint;
367
                    string angle = MathSet.returnAngleString(this.StartPoint, ref tmp, true);
368
                    this.EndPoint = tmp;
369
                }
370
            }
371
            else
372
            {
373
                if (bAxisLocked || bShiftKeyPressed)
374
                {
375
                    Point tmp = this.EndPoint;
376
                    string angle = MathSet.returnAngleString(this.MiddlePoint, ref tmp, true);
377
                    this.EndPoint = tmp;
378
                }
379
            }
380

  
381
            this.PointSet = new List<Point>
382
            {
383
                this.StartPoint,
384
                this.MiddlePoint,
385
                this.EndPoint,
386
            };
387
        }
388

  
389
        /// <summary>
354 390
        /// return ArrowControl_Multi's area
355 391
        /// </summary>
356 392
        /// <author>humkyung</author>

내보내기 Unified diff

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