프로젝트

일반

사용자정보

개정판 a6272c57

IDa6272c573947c9daab7529a31cf3cf428aee51c9
상위 a715d06e
하위 9fcc0151

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

issue #923: add ICommentUserInfo interface

Change-Id: Id0b65251436a5aa647eef78026dfad90d3ca64ab

차이점 보기:

MarkupToPDF/Controls/Etc/SymControl.cs
372 372
        }
373 373

  
374 374
        /// <summary>
375
        /// call when mouse is moving while drawing control
376
        /// </summary>
377
        /// <author>humkyung</author>
378
        /// <param name="pt"></param>
379
        /// <param name="bAxisLocked"></param>
380
        public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed)
381
        {
382
            this.EndPoint = pt;
383
            this.LeftBottomPoint = new Point(this.StartPoint.X, this.EndPoint.Y);
384
            this.TopRightPoint = new Point(this.EndPoint.X, this.StartPoint.Y);
385
            
386
            this.StrokeColor = new SolidColorBrush(Colors.Red);
387

  
388
            if (this.StartPoint != this.EndPoint)
389
            {
390
                if (this.PathData == null)
391
                {
392
                    using (StringToPathConverter Convert = new StringToPathConverter())
393
                    {
394
                        this.PathData = Convert.Convert("M-5,5L0,0L20,30L40,-20 ");
395
                    }
396
                }
397
            }
398

  
399
            this.PointSet = new List<Point>
400
            {
401
                this.StartPoint,
402
                this.LeftBottomPoint,
403
                this.EndPoint,
404
                this.TopRightPoint,
405
            };
406
        }
407

  
408
        /// <summary>
375 409
        /// return SymControl's area
376 410
        /// </summary>
377 411
        /// <author>humkyung</author>

내보내기 Unified diff

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