프로젝트

일반

사용자정보

개정판 4f017ed3

ID4f017ed300546aa9269405c789f27a9b4fbadb49
상위 d2279f18
하위 324fcf3e

김태성이(가) 약 4년 전에 추가함

Final ArrowTextControl 수정

Change-Id: Ifdd9876909e6a4ce288d70acb74a00b37e88e6a0

차이점 보기:

KCOM/Extensions/MarkupVisitHelper.cs
91 91

  
92 92
                    try
93 93
                    {
94
                        if (Common.ViewerDataModel.Instance.Angle != 0)
94
                        if (Common.ViewerDataModel.Instance.MarkupAngle != 0)
95 95
                        {
96
                            for (int i = 0; i < (Common.ViewerDataModel.Instance.Angle / 90); i++)
96
                            for (int i = 0; i < (Common.ViewerDataModel.Instance.MarkupAngle / 90); i++)
97 97
                            {
98 98
                                Common.ViewerDataModel.Instance.SystemMain.dzTopMenu.drawingPannelRotate(true);
99 99
                            }
......
123 123
                        double positionX = 0;
124 124
                        double positionY = 0;
125 125

  
126
                        if (Common.ViewerDataModel.Instance.Angle == 90)
126
                        if (Common.ViewerDataModel.Instance.MarkupAngle == 90)
127 127
                        {
128 128
                            positionX = Common.ViewerDataModel.Instance.ImageViewHeight + rect.X;
129 129
                            positionY = Common.ViewerDataModel.Instance.ImageViewWidth + rect.Y;
......
141 141

  
142 142
                        var pageSize = new Size(main.pageNavigator.CurrentPage.Width, main.pageNavigator.CurrentPage.Height);
143 143

  
144
                        double pageAngle = Common.ViewerDataModel.Instance.Angle;
144
                        double pageAngle = Common.ViewerDataModel.Instance.MarkupAngle;
145 145

  
146 146
                        if (pageAngle == 90)
147 147
                        {
......
154 154

  
155 155
                        if ((rect.Size.Width + rect.Size.Height) > (pageSize.Width + pageSize.Height))
156 156
                        {
157
                            var matrix = MatrixHelper.Rotation(Common.ViewerDataModel.Instance.Angle);
157
                            var matrix = MatrixHelper.Rotation(Common.ViewerDataModel.Instance.MarkupAngle);
158 158
                            rect.Transform(matrix);
159 159
                            
160 160
                            main.zoomAndPanControl.ZoomTo(rect);
......
163 163
                        {
164 164
                            rect.Inflate(rect.Width * 3, rect.Height * 3);
165 165

  
166
                            var matrix = MatrixHelper.Rotation(Common.ViewerDataModel.Instance.Angle);
166
                            var matrix = MatrixHelper.Rotation(Common.ViewerDataModel.Instance.MarkupAngle);
167 167
                            rect.Transform(matrix);
168 168

  
169 169

  

내보내기 Unified diff

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