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