프로젝트

일반

사용자정보

개정판 40b3ce25

ID40b3ce25a44350ef0eb2b455831d9a128fd41b79
상위 80458c15
하위 b3fb7321

이지연이(가) 약 6년 전에 추가함

issue #754 Arc Arrow Line Control 추가

차이점 보기:

KCOM/Events/Move.cs
232 232
                    break;
233 233
                case (ControlType.ArcArrow):
234 234
                    {
235
                        s_point.X = Math.Min((control as ArcControl).StartPoint.X, (control as ArcControl).EndPoint.X);
236
                        s_point.X = Math.Min((control as ArcControl).MidPoint.X, s_point.X);
237
                        s_point.Y = Math.Min((control as ArcControl).StartPoint.Y, (control as ArcControl).EndPoint.Y);
238
                        s_point.Y = Math.Min((control as ArcControl).MidPoint.Y, s_point.Y);
239
                        e_point.X = Math.Max((control as ArcControl).StartPoint.X, (control as ArcControl).EndPoint.X);
240
                        e_point.X = Math.Max((control as ArcControl).MidPoint.X, e_point.X);
241
                        e_point.Y = Math.Max((control as ArcControl).StartPoint.Y, (control as ArcControl).EndPoint.Y);
242
                        e_point.Y = Math.Max((control as ArcControl).MidPoint.Y, e_point.Y);
235
                        s_point.X = Math.Min((control as ArrowArcControl).StartPoint.X, (control as ArrowArcControl).EndPoint.X);
236
                        s_point.X = Math.Min((control as ArrowArcControl).MidPoint.X, s_point.X);
237
                        s_point.Y = Math.Min((control as ArrowArcControl).StartPoint.Y, (control as ArrowArcControl).EndPoint.Y);
238
                        s_point.Y = Math.Min((control as ArrowArcControl).MidPoint.Y, s_point.Y);
239
                        e_point.X = Math.Max((control as ArrowArcControl).StartPoint.X, (control as ArrowArcControl).EndPoint.X);
240
                        e_point.X = Math.Max((control as ArrowArcControl).MidPoint.X, e_point.X);
241
                        e_point.Y = Math.Max((control as ArrowArcControl).StartPoint.Y, (control as ArrowArcControl).EndPoint.Y);
242
                        e_point.Y = Math.Max((control as ArrowArcControl).MidPoint.Y, e_point.Y);
243 243
                        rectSize = e_point - s_point;
244 244
                    }
245 245
                    break;

내보내기 Unified diff

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