개정판 a6272c57
issue #923: add ICommentUserInfo interface
Change-Id: Id0b65251436a5aa647eef78026dfad90d3ca64ab
MarkupToPDF/Controls/Shape/RectCloudControl.cs | ||
---|---|---|
561 | 561 |
} |
562 | 562 |
|
563 | 563 |
/// <summary> |
564 |
/// call when mouse is moving while drawing control |
|
565 |
/// </summary> |
|
566 |
/// <author>humkyung</author> |
|
567 |
/// <param name="pt"></param> |
|
568 |
/// <param name="bAxisLocked"></param> |
|
569 |
public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed) |
|
570 |
{ |
|
571 |
this.EndPoint = bShiftKeyPressed ? this.GetSquareEndPoint(this.StartPoint, pt) : pt; |
|
572 |
this.LeftBottomPoint = new Point(this.StartPoint.X, this.EndPoint.Y); |
|
573 |
this.TopRightPoint = new Point(this.EndPoint.X, this.StartPoint.Y); |
|
574 |
|
|
575 |
this.PointSet = new List<Point> |
|
576 |
{ |
|
577 |
this.StartPoint, |
|
578 |
this.LeftBottomPoint, |
|
579 |
this.EndPoint, |
|
580 |
this.TopRightPoint, |
|
581 |
}; |
|
582 |
} |
|
583 |
|
|
584 |
/// <summary> |
|
564 | 585 |
/// return rectcloudcontrols' area |
565 | 586 |
/// </summary> |
566 | 587 |
/// <author>humkyung</author> |
내보내기 Unified diff