프로젝트

일반

사용자정보

개정판 5a9353a9

ID5a9353a96445059c724a93128d1976ce11c206e9
상위 5a6a5dd1
하위 8742caa5

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

Change arc depth for cloud from 0.8 to 0.55

차이점 보기:

MarkupToPDF/Controls/Shape/RectCloudControl.cs
25 25
        public Path Base_ArcPath = null;
26 26
        public Path Base_BodyPath = null;
27 27

  
28
        private const double _CloudArcDepth = 0.55;  /// 2018.05.14 added by humkyung
29

  
28 30
        #endregion
29 31

  
30 32
        static RectCloudControl()
......
575 577
            for (j = 1; j < (count - 1); j++)
576 578
            {
577 579
                ArcSegment arcSeg = new ArcSegment();
578
                arcSeg.Size = new Size(arcLength * 0.8, arcLength * 0.8);						/// x size and y size of arc
580
                arcSeg.Size = new Size(arcLength * RectCloudControl._CloudArcDepth, arcLength * RectCloudControl._CloudArcDepth);						/// x size and y size of arc
579 581
                arcSeg.Point = new Point(p1.X + j * dx * arcLength, p1.Y + j * dy * arcLength);	/// end point of arc
580 582
                lastPt = arcSeg.Point;  /// save last point
581 583
                arcSeg.RotationAngle = theta + 90;
......
588 590
            {
589 591
                arcLength = MathSet.DistanceTo(lastPt, p2);
590 592
                ArcSegment arcSeg = new ArcSegment();
591
                arcSeg.Size = new Size(arcLength * 0.8, arcLength * 0.8);	/// x size and y size of arc
593
                arcSeg.Size = new Size(arcLength * RectCloudControl._CloudArcDepth, arcLength * RectCloudControl._CloudArcDepth);	/// x size and y size of arc
592 594
                arcSeg.Point = new Point(p2.X, p2.Y);						/// end point of arc
593 595
                arcSeg.RotationAngle = theta;
594 596
                if (true == reverse) arcSeg.SweepDirection = SweepDirection.Clockwise;

내보내기 Unified diff

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