프로젝트

일반

사용자정보

개정판 253c9730

ID253c973011a7e37766669ce83d920cd6a70e855c
상위 16231f58
하위 206eb77c

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

issue #00000 compare 속도 및 메모리 최적화
- page 변셩시 이미지 안 보이는 문제 수정

Change-Id: I0efcd3d93178807d9bead96c38e81377ca6730fd

차이점 보기:

KCOM/Views/MainMenu.xaml.cs
5417 5417

  
5418 5418
                    System.Drawing.Size imageSize = new System.Drawing.Size((int)ViewerDataModel.Instance.ImageViewWidth_C, (int)ViewerDataModel.Instance.ImageViewHeight_C);
5419 5419

  
5420
                    System.Drawing.Size recSize = new System.Drawing.Size(2,2);
5420
                    //System.Drawing.Size recSize = new System.Drawing.Size(2,2);
5421 5421

  
5422
                    if(ViewerDataModel.Instance.ImageViewWidth_C > 1000 && ViewerDataModel.Instance.ImageViewHeight_C > 1000)
5423
                    {
5424
                        recSize = new System.Drawing.Size((int)(ViewerDataModel.Instance.ImageViewWidth_C /1000),(int)(ViewerDataModel.Instance.ImageViewHeight_C/ 1000));
5425
                    }
5422
                    //if(ViewerDataModel.Instance.ImageViewWidth_C > 1000 && ViewerDataModel.Instance.ImageViewHeight_C > 1000)
5423
                    //{
5424
                    //    recSize = new System.Drawing.Size((int)(ViewerDataModel.Instance.ImageViewWidth_C /1000),(int)(ViewerDataModel.Instance.ImageViewHeight_C/ 1000));
5425
                    //}
5426 5426

  
5427 5427
                    var rectColor = System.Drawing.Color.FromArgb(255, 244, 15, 100);
5428
                    var result = imageCompare.CompareReturnDrawContours(ViewerDataModel.Instance.ImageViewPath, ViewerDataModel.Instance.ImageViewPath_C, rectColor, imageSize);
5429 5428

  
5429
                    var result = imageCompare.CompareReturnDrawContours(ViewerDataModel.Instance.ImageViewPath, ViewerDataModel.Instance.ImageViewPath_C, rectColor, imageSize);
5430 5430
                    //borderComprareWait.Visibility = Visibility.Collapsed;
5431 5431

  
5432 5432
                    CompareDisplay(result);
......
5472 5472
                // 애니메이션 설정
5473 5473
                DoubleAnimation animation = new DoubleAnimation
5474 5474
                {
5475
                    From =0.39,
5475
                    From =0.50,
5476 5476
                    To = 0.1,
5477 5477
                    Duration = new Duration(TimeSpan.FromSeconds(2)),
5478 5478
                    AutoReverse = true
......
5567 5567
                            ViewerDataModel.Instance.SyncPageAngle = findPage.PAGE_ANGLE;
5568 5568
                        }
5569 5569

  
5570
                        ViewerDataModel.Instance.SyncPageNumber = syncCurrentPageNo;
5571

  
5570 5572
                        ComparePageLoad(CurrentRev.DOCUMENT_ID, syncCurrentPageNo, OriginalSizeMode.IsChecked);
5571 5573

  
5572 5574
                        Sync_Offset_Point = new Point(zoomAndPanControl.ContentOffsetX, zoomAndPanControl.ContentOffsetY);

내보내기 Unified diff

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