프로젝트

일반

사용자정보

개정판 7e2d682c

ID7e2d682caafeb54f0893b2fb560fddfb0d3b4150
상위 6733673b
하위 84578b97, 46615333

김태성이(가) 5년 이상 전에 추가함

ScaleImage 제거

Change-Id: Id23bea93b9db32724e0380642f89eae7346523a5

차이점 보기:

KCOM/KCOM.csproj
1307 1307
  </Target>
1308 1308
  <PropertyGroup>
1309 1309
    <PostBuildEvent>"$(Obfuscar)" obfuscar.xml
1310
XCOPY /y /d  "$(OutDir)Obfuscator_Output\*.exe" "$(OutDir)"
1311
XCOPY /y /d  "$(OutDir)Obfuscator_Output\*.dll" "$(OutDir)"</PostBuildEvent>
1310
XCOPY /y /d  "$(TargetDir)Obfuscator_Output\*.exe" "$(TargetDir)"
1311
XCOPY /y /d  "$(TargetDir)Obfuscator_Output\*.dll" "$(TargetDir)"</PostBuildEvent>
1312 1312
  </PropertyGroup>
1313 1313
  <Import Project="..\packages\System.Data.SQLite.Core.1.0.110.0\build\net45\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.110.0\build\net45\System.Data.SQLite.Core.targets')" />
1314 1314
</Project>
KCOM/Views/MainMenu.xaml
163 163
                                                <!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
164 164
                                            </InkCanvas>
165 165
                                            <!--강인구 추가-->
166
                                                <controls:ScaleDecodeImage Panel.ZIndex="0" x:Name="mainPanel"
166
                                                <!--<controls:ScaleDecodeImage Panel.ZIndex="0" x:Name="mainPanel"
167 167
                                                   Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" 
168 168
                                                    Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
169 169
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}">
170
                                                </controls:ScaleDecodeImage>
171
                                                <!--<Image Panel.ZIndex="0" x:Name="mainPanel" RenderOptions.BitmapScalingMode="HighQuality" RenderOptions.EdgeMode="Unspecified" RenderOptions.ClearTypeHint="Enabled"
170
                                                </controls:ScaleDecodeImage>-->
171
                                                <Image Panel.ZIndex="0" x:Name="mainPanel" RenderOptions.BitmapScalingMode="HighQuality"
172
                                                       RenderOptions.EdgeMode="Unspecified" RenderOptions.ClearTypeHint="Enabled"
172 173
                                                        Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" 
174
                                                         Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
175
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
173 176
                                                           >
174
                                                    </Image>-->
177
                                                    </Image>
175 178
                                                <Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Panel.ZIndex="32766"/>
176 179
                                                <Border x:Name="dragSelectionBorder" Visibility="Collapsed"
177 180
                                                    BorderBrush="Blue"
KCOM/Views/MainMenu.xaml.cs
5248 5248
        /// <returns></returns>
5249 5249
        private void ScaleImage(double pageWidth,double pageHeight)
5250 5250
        {
5251
            mainPanel.Scale = zoomAndPanControl.ContentScale;// (zoomAndPanControl.ContentScale >= 0.1) ? 1 : zoomAndPanControl.ContentScale;
5251
            //mainPanel.Scale = zoomAndPanControl.ContentScale;// (zoomAndPanControl.ContentScale >= 0.1) ? 1 : zoomAndPanControl.ContentScale;
5252 5252
        }
5253 5253

  
5254 5254
        private void thumbnailPanel_SizeChanged(object sender, SizeChangedEventArgs e)

내보내기 Unified diff

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