프로젝트

일반

사용자정보

개정판 e6a9ddaf

IDe6a9ddaff1d8d2d0c1caa78bf31241e824450f09
상위 3593d746
하위 5423f26d, 29cf2c0c

백흠경이(가) 5년 이상 전에 추가함

issue #923: fixed ControlType.ChainLine drawing

Change-Id: Iee05d32624f7260c51cf31dc4827fcee6085be55

차이점 보기:

KCOM/Controls/AdornerFinal.xaml.cs
1301 1301
                    #region 텍스트
1302 1302
                    if (item.Drawingtype == ControlType.TextControl)
1303 1303
                    {
1304
                        Point dx = MathSet.RotateAbout(new Point(0, 0), new Point(e.HorizontalChange, e.VerticalChange), trRotate.Angle);
1305
                        Canvas.SetLeft((item.DrawingData as TextControl), Canvas.GetLeft((item.DrawingData as TextControl)) + dx.X);
1306
                        Canvas.SetTop((item.DrawingData as TextControl), Canvas.GetTop((item.DrawingData as TextControl)) + dx.Y);
1307
                        (item.DrawingData as TextControl).StartPoint =
1308
                        new Point(Canvas.GetLeft((item.DrawingData as TextControl)) + e.HorizontalChange / 5, Canvas.GetTop((item.DrawingData as TextControl)) + e.VerticalChange / 5);
1309
                        (item.DrawingData as TextControl).EndPoint = (item.DrawingData as TextControl).StartPoint;
1310

  
1311
                        // Point endPointV = new Point(Data.Bounds.Right, Data.Bounds.Bottom);
1312
                        //Point middle = MathSet.getMiddlePoint((item.DrawingData as TextControl).StartPoint, (item.DrawingData as TextControl).EndPoint);
1313

  
1314
                        // TextControlChanger(); 
1304
                        (item.DrawingData as TextControl).Move(e.HorizontalChange, e.VerticalChange);
1315 1305
                    }
1316 1306
                    #endregion
1317 1307
                    #region 날짜

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)