프로젝트

일반

사용자정보

개정판 b79d6e7f

IDb79d6e7fe47779e89433864a593fe62b9d09de65
상위 219bb41d
하위 1af0f150

백흠경이(가) 9달 전에 추가함

Fix: ArrowTextControl, TextControl에 ArcLength 적용

Change-Id: I02e837c6e9e97fc48008ee3753012f8025414ffb

차이점 보기:

KCOM/Controls/AdornerFinal.xaml.cs
755 755
                }
756 756
                else 
757 757
                {
758

  
759
                    LineSize = ((dynamic)currentControl).LineSize;
760

  
761
                    //if (item.DrawingData.GetType().Name == "TriControl")
762
                    //    LineSize = ((MarkupToPDF.Controls.Shape.TriControl)currentControl).LineSize;
763
                    //else if(item.DrawingData.GetType().Name == "RectangleControl")
764
                    //    LineSize = ((MarkupToPDF.Controls.Shape.RectangleControl)currentControl).LineSize;
765
                    //else if (item.DrawingData.GetType().Name == "RectCloudControl")
766
                    //    LineSize = ((MarkupToPDF.Controls.Shape.RectCloudControl)currentControl).LineSize;
767
                    //else if (item.DrawingData.GetType().Name == "CloudControl")
768
                    //    LineSize = ((MarkupToPDF.Controls.Polygon.CloudControl)currentControl).LineSize;
769
                    //else if (item.DrawingData.GetType().Name == "PolygonControl")
770
                    //    LineSize = ((MarkupToPDF.Controls.Polygon.PolygonControl)currentControl).LineSize;
758
                    if(item.DrawingData.GetType().Name == "TriControl")
759
                        LineSize = ((MarkupToPDF.Controls.Shape.TriControl)currentControl).LineSize;
760
                    else if(item.DrawingData.GetType().Name == "RectangleControl")
761
                        LineSize = ((MarkupToPDF.Controls.Shape.RectangleControl)currentControl).LineSize;
762
                    else if (item.DrawingData.GetType().Name == "RectCloudControl")
763
                        LineSize = ((MarkupToPDF.Controls.Shape.RectCloudControl)currentControl).LineSize;
764
                    else if (item.DrawingData.GetType().Name == "CloudControl")
765
                        LineSize = ((MarkupToPDF.Controls.Polygon.CloudControl)currentControl).LineSize;
766
                    else if (item.DrawingData.GetType().Name == "PolygonControl")
767
                        LineSize = ((MarkupToPDF.Controls.Polygon.PolygonControl)currentControl).LineSize;
771 768

  
772 769
                    if ((currentControl as IPath).PathData.Bounds.Left < minX) minX = (currentControl as IPath).PathData.Bounds.Left;
773 770
                    if ((currentControl as IPath).PathData.Bounds.Top < minY) minY = (currentControl as IPath).PathData.Bounds.Top;
......
1450 1447
            if (_ActualAngle > 360) _ActualAngle -= 360;
1451 1448
            if (_ActualAngle < 0) _ActualAngle += 360;
1452 1449
            #region AxisLock이 설정되어 있는 경우 Angle을 특정 값으로 정렬한다.
1453
            if (ViewerDataModel.Instance.IsAxisLock)
1450
            if (ViewerDataModel.Instance.IsAxisLock || ViewerDataModel.Instance.IsPressShift)
1454 1451
            {
1455 1452
                double tmp = AlignedAngles.OrderBy(x => Math.Abs(_ActualAngle - x)).First();
1456 1453
                dDeltaAngle = tmp - AngleValue;

내보내기 Unified diff

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