개정판 a6272c57
issue #923: add ICommentUserInfo interface
Change-Id: Id0b65251436a5aa647eef78026dfad90d3ca64ab
MarkupToPDF/Controls/Line/ArcControl.cs | ||
---|---|---|
523 | 523 |
} |
524 | 524 |
|
525 | 525 |
/// <summary> |
526 |
/// call when mouse is moving while drawing control |
|
527 |
/// </summary> |
|
528 |
/// <author>humkyung</author> |
|
529 |
/// <param name="pt"></param> |
|
530 |
/// <param name="bAxisLocked"></param> |
|
531 |
public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed) |
|
532 |
{ |
|
533 |
this.isTransOn = false; |
|
534 |
this.EndPoint = pt; |
|
535 |
this.MidPoint = new Point(0, 0); |
|
536 |
|
|
537 |
if (bAxisLocked || bShiftKeyPressed) |
|
538 |
{ |
|
539 |
Point tmp = this.EndPoint; |
|
540 |
string angle = MathSet.returnAngleString(this.StartPoint, ref tmp, true); |
|
541 |
this.EndPoint = tmp; |
|
542 |
} |
|
543 |
|
|
544 |
this.PointSet = new List<Point> |
|
545 |
{ |
|
546 |
this.StartPoint, |
|
547 |
this.MidPoint, |
|
548 |
this.EndPoint, |
|
549 |
}; |
|
550 |
} |
|
551 |
|
|
552 |
/// <summary> |
|
526 | 553 |
/// return Arc's area |
527 | 554 |
/// </summary> |
528 | 555 |
/// <author>humkyung</author> |
내보내기 Unified diff