1.3.0
New Features:
- MyraEnvironment.SmoothText. Turning this setting to true switches the texture filtering to linear when rendering text. It makes the whole rendering somewhat slower as the texture filtering is switched between nearest and linear often. However the text becomes more smooth. It is quite noticeable if
Desktop
is upscaled (i.e.Desktop.Transform = Matrix.CreateScale(2.0f, 2.0f, 1.0f);
). - New Sample: Myra.Samples.TextRendering. This sample allows to test various scaling and text rendering settings. Also it's first sample that uses two
Desktop
objects at once.
- New Property: Widget.ZIndex.
- Now it's no longer required to click on a ScrollViewer for it to accept mouse wheel focus. Moving mouse over is enough.
- Changed default stylesheet font to Inter-Regular.ttf(https://fonts.google.com/specimen/Inter)
Closed Issues:
#323 - Feature Request: Widget.ZOrder property
#325 - Add PlacedChanged event handler to Widget
#327 - Add overload for drawing arcs & shorten methods
#330 - Feature Request: Desktop.TextureFilter property
#331 - New Sample: Myra.Samples.TextRendering
#332 - Feature Request: '\n' new line text command
#333 - Make default stylesheet font dynamic(aka loaded from ttf)
#334 - Bump FontStashSharp to 0.9.5
#335 - ScrollViewer should receive mouse wheel focus just by aiming mouse. The click shouldn't be necessary.