개정판 a6272c57
issue #923: add ICommentUserInfo interface
Change-Id: Id0b65251436a5aa647eef78026dfad90d3ca64ab
MarkupToPDF/Controls/Polygon/PolygonControl.cs | ||
---|---|---|
483 | 483 |
} |
484 | 484 |
|
485 | 485 |
/// <summary> |
486 |
/// call when mouse is moving while drawing control |
|
487 |
/// </summary> |
|
488 |
/// <author>humkyung</author> |
|
489 |
/// <param name="pt"></param> |
|
490 |
/// <param name="bAxisLocked"></param> |
|
491 |
public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed) |
|
492 |
{ |
|
493 |
this.PointSet.RemoveAt(this.PointSet.Count - 1); |
|
494 |
|
|
495 |
Point tmp = pt; |
|
496 |
if (bAxisLocked || bShiftKeyPressed) |
|
497 |
{ |
|
498 |
string angle = MathSet.returnAngleString(this.PointSet[this.PointSet.Count - 1], ref tmp, true); |
|
499 |
} |
|
500 |
this.PointSet.Add(tmp); |
|
501 |
|
|
502 |
this.updateControl(); |
|
503 |
} |
|
504 |
|
|
505 |
/// <summary> |
|
486 | 506 |
/// return Polygon's area |
487 | 507 |
/// </summary> |
488 | 508 |
/// <author>humkyung</author> |
내보내기 Unified diff