프로젝트

일반

사용자정보

개정판 5a9353a9

ID5a9353a96445059c724a93128d1976ce11c206e9
상위 5a6a5dd1
하위 8742caa5

humkyung 이(가) 6년 이상 전에 추가함

Change arc depth for cloud from 0.8 to 0.55

차이점 보기:

MarkupToPDF/Controls/Text/TextControl.cs
40 40
        public TranslateTransform _translation = null;
41 41
        public ScaleTransform _scale = null;
42 42

  
43
        private const double _CloudArcDepth = 0.55;  /// 2018.05.14 added by humkyung
44

  
43 45
        public bool IsSelected
44 46
        {
45 47
            get
......
493 495
            for (j = 1; j < (count - 1); j++)
494 496
            {
495 497
                ArcSegment arcSeg = new ArcSegment();
496
                arcSeg.Size = new Size(arcLength * 0.8, arcLength * 0.8);
497

  
498
                arcSeg.Size = new Size(arcLength * TextControl._CloudArcDepth, arcLength * TextControl._CloudArcDepth);
498 499
                arcSeg.Point = new Point(p1.X + j * dx * arcLength, p1.Y + j * dy * arcLength);
499 500
                lastPt = arcSeg.Point;
500 501
                arcSeg.RotationAngle = theta + 90;
......
507 508
            {
508 509
                arcLength = MathSet.DistanceTo(lastPt, p2);
509 510
                ArcSegment arcSeg = new ArcSegment();
510
                arcSeg.Size = new Size(arcLength * 0.8, arcLength * 0.8);
511
                arcSeg.Size = new Size(arcLength * TextControl._CloudArcDepth, arcLength * TextControl._CloudArcDepth);
511 512
                arcSeg.Point = new Point(p2.X, p2.Y);
512 513
                arcSeg.RotationAngle = theta;
513 514

  

내보내기 Unified diff

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