개정판 5a9353a9
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