개정판 a6272c57
issue #923: add ICommentUserInfo interface
Change-Id: Id0b65251436a5aa647eef78026dfad90d3ca64ab
MarkupToPDF/Controls/Line/ArrowArcControl.cs | ||
---|---|---|
468 | 468 |
} |
469 | 469 |
|
470 | 470 |
/// <summary> |
471 |
/// call when mouse is moving while drawing control |
|
472 |
/// </summary> |
|
473 |
/// <author>humkyung</author> |
|
474 |
/// <param name="pt"></param> |
|
475 |
/// <param name="bAxisLocked"></param> |
|
476 |
public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed) |
|
477 |
{ |
|
478 |
this.isTransOn = false; |
|
479 |
this.MidPoint = new Point(0, 0); |
|
480 |
this.EndPoint = pt; |
|
481 |
if (bAxisLocked || bShiftKeyPressed) |
|
482 |
{ |
|
483 |
Point tmp = this.EndPoint; |
|
484 |
string angle = MathSet.returnAngleString(this.StartPoint, ref tmp, true); |
|
485 |
this.EndPoint = tmp; |
|
486 |
} |
|
487 |
|
|
488 |
this.PointSet = new List<Point> |
|
489 |
{ |
|
490 |
this.StartPoint, |
|
491 |
this.MidPoint, |
|
492 |
this.EndPoint, |
|
493 |
}; |
|
494 |
} |
|
495 |
|
|
496 |
/// <summary> |
|
471 | 497 |
/// Serialize this |
472 | 498 |
/// </summary> |
473 | 499 |
/// <param name="sUserId"></param> |
내보내기 Unified diff