Global: BitmapScalingMode = High. UseLayoutRendering On

BitmapScalingMode high made some bitmaps look way better.  UseLayoutRendering I've used elsewhere to good effect, and the same article recommended it.
https://stackoverflow.com/questions/592017/my-images-are-blurry-why-isnt-wpfs-snapstodevicepixels-working
This commit is contained in:
Justin Swanson 2019-11-09 20:38:44 -06:00
parent dcb343c8f8
commit 86330081f3
3 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,6 @@
d:DesignHeight="450"
d:DesignWidth="800"
ClipToBounds="True"
UseLayoutRounding="True"
mc:Ignorable="d">
<UserControl.Resources>
<Color x:Key="TextBackgroundFill">#92000000</Color>

View File

@ -12,8 +12,10 @@
MinHeight="650"
Closing="Window_Closing"
Icon="../Resources/Icons/wabbajack.ico"
RenderOptions.BitmapScalingMode="HighQuality"
ResizeMode="CanResize"
Style="{StaticResource {x:Type Window}}"
UseLayoutRounding="True"
WindowStyle="ToolWindow"
mc:Ignorable="d">
<ContentPresenter Content="{Binding ActivePane}">

View File

@ -10,8 +10,10 @@
Height="800"
Closing="Close_Window"
Icon="../Resources/Icons/wabbajack.ico"
RenderOptions.BitmapScalingMode="HighQuality"
ResizeMode="CanResize"
Style="{StaticResource {x:Type Window}}"
UseLayoutRounding="True"
WindowStyle="ToolWindow"
mc:Ignorable="d">
<Grid Margin="20">