개정판 6707a5c7
issue #680 temp file save add
KCOM/Controls/AdornerFinal.xaml.cs | ||
---|---|---|
1237 | 1237 |
#endregion |
1238 | 1238 |
#region 텍스트 |
1239 | 1239 |
if (item.Drawingtype == ControlType.TextControl) |
1240 |
{
|
|
1240 |
{ |
|
1241 | 1241 |
Point dx = MathSet.RotateAbout(new Point(0, 0), new Point(e.HorizontalChange, e.VerticalChange), trRotate.Angle); |
1242 | 1242 |
Canvas.SetLeft((item.DrawingData as TextControl), Canvas.GetLeft((item.DrawingData as TextControl)) + dx.X); |
1243 | 1243 |
Canvas.SetTop((item.DrawingData as TextControl), Canvas.GetTop((item.DrawingData as TextControl)) + dx.Y); |
1244 | 1244 |
(item.DrawingData as TextControl).StartPoint = |
1245 | 1245 |
new Point(Canvas.GetLeft((item.DrawingData as TextControl)) + e.HorizontalChange / 5, Canvas.GetTop((item.DrawingData as TextControl)) + e.VerticalChange / 5); |
1246 | 1246 |
(item.DrawingData as TextControl).EndPoint = (item.DrawingData as TextControl).StartPoint; |
1247 |
|
|
1248 |
// Point endPointV = new Point(Data.Bounds.Right, Data.Bounds.Bottom); |
|
1249 |
//Point middle = MathSet.getMiddlePoint((item.DrawingData as TextControl).StartPoint, (item.DrawingData as TextControl).EndPoint); |
|
1250 |
|
|
1251 |
TextControlChanger(); |
|
1247 | 1252 |
} |
1248 | 1253 |
#endregion |
1249 | 1254 |
#region 날짜 |
내보내기 Unified diff