개정판 a6272c57
issue #923: add ICommentUserInfo interface
Change-Id: Id0b65251436a5aa647eef78026dfad90d3ca64ab
MarkupToPDF/Controls/Shape/CircleControl.cs | ||
---|---|---|
438 | 438 |
} |
439 | 439 |
|
440 | 440 |
/// <summary> |
441 |
/// call when mouse is moving while drawing control |
|
442 |
/// </summary> |
|
443 |
/// <param name="pt"></param> |
|
444 |
/// <param name="bAxisLocked"></param> |
|
445 |
public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed) |
|
446 |
{ |
|
447 |
this.EndPoint = bShiftKeyPressed ? this.GetSquareEndPoint(this.StartPoint, pt) : pt; |
|
448 |
this.LeftBottomPoint = new Point(this.StartPoint.X, this.EndPoint.Y); |
|
449 |
this.TopRightPoint = new Point(this.EndPoint.X, this.StartPoint.Y); |
|
450 |
|
|
451 |
this.PointSet = new List<Point> |
|
452 |
{ |
|
453 |
this.StartPoint, |
|
454 |
this.LeftBottomPoint, |
|
455 |
this.EndPoint, |
|
456 |
this.TopRightPoint, |
|
457 |
}; |
|
458 |
} |
|
459 |
|
|
460 |
/// <summary> |
|
441 | 461 |
/// return circlecontrols' area |
442 | 462 |
/// </summary> |
443 | 463 |
/// <author>humkyung</author> |
내보내기 Unified diff