We're using Oxyplot in our application. Our application allows to zoom the displayed content. This is done using a WPF Viewbox.
We use an internal resolution (for example, 300 x 200 pixels internally) and let the Viewbox zoom that up to the actual screen resolution of the user.
This works well with regular WPF controls, these stay crystal clear and are just rendered larger than usual.
But Oxyplot becomes blurry.
To reproduce this, take the latest development branch from Oxyplot, open the WPF Example and replace the Plot TabItem in MainWindow.xaml, line 126 with this:
<TabItem Header="Plot">
<Viewbox Stretch="Uniform">
<Grid Height="200" Width="300">
<oxy:PlotView x:Name="Plot1" Model="{Binding SelectedExample.PlotModel}" Controller="{Binding SelectedExample.Controller}" />
</Grid>
</Viewbox>
</TabItem>
This results in the following view:
Notice how the texts are blurred and also the axis tick marks look uneven.
I had hopes that the late High DPI fix would also fix this, but it doesn't (I pulled the latest development branch today).
I really don't know where to go from here. I'm mainly looking for ideas now. What could be the problem? I think it gets - partly - converted to a bitmap internally - but why and what can I do about this?
Thanks!