개정판 a6272c57
issue #923: add ICommentUserInfo interface
Change-Id: Id0b65251436a5aa647eef78026dfad90d3ca64ab
MarkupToPDF/Controls/Cad/InsideWhiteControlcs.cs | ||
---|---|---|
552 | 552 |
} |
553 | 553 |
|
554 | 554 |
/// <summary> |
555 |
/// call when mouse is moving while drawing control |
|
556 |
/// </summary> |
|
557 |
/// <author>humkyung</author> |
|
558 |
/// <param name="pt"></param> |
|
559 |
/// <param name="bAxisLocked"></param> |
|
560 |
public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed) |
|
561 |
{ |
|
562 |
this.EndPoint = bShiftKeyPressed ? this.GetSquareEndPoint(this.StartPoint, pt) : pt; |
|
563 |
this.LeftBottomPoint = new Point(this.StartPoint.X, this.EndPoint.Y); |
|
564 |
this.TopRightPoint = new Point(this.EndPoint.X, this.StartPoint.Y); |
|
565 |
|
|
566 |
this.PointSet = new List<Point> |
|
567 |
{ |
|
568 |
this.StartPoint, |
|
569 |
this.LeftBottomPoint, |
|
570 |
this.EndPoint, |
|
571 |
this.TopRightPoint, |
|
572 |
}; |
|
573 |
|
|
574 |
this.updateControl(); |
|
575 |
} |
|
576 |
|
|
577 |
/// <summary> |
|
555 | 578 |
/// return InsideWhiteControl's area |
556 | 579 |
/// </summary> |
557 | 580 |
/// <author>humkyung</author> |
내보내기 Unified diff