зеркало из https://github.com/mono/SkiaSharp.git
db0e4715ff
* Do not stretch the background
When resizing a view, the background will be stretched making the image distorted and not a great experience.
This PR make sure to never scale the background brush and rather keep it top-left aligned.
* Update SKXamlCanvas.cs
* Scale the brush instead of stretching it
(cherry picked from commit
|
||
---|---|---|
.. | ||
Common | ||
SkiaSharp.DotNet.Interactive | ||
SkiaSharp.HarfBuzz | ||
SkiaSharp.Views | ||
SkiaSharp.Views.Blazor/SkiaSharp.Views.Blazor | ||
SkiaSharp.Views.Forms | ||
SkiaSharp.Views.Maui | ||
SkiaSharp.Views.Uno | ||
SkiaSharp.Views.WinUI/SkiaSharp.Views.WinUI | ||
SkiaSharp.Vulkan/SkiaSharp.Vulkan.SharpVk | ||
Directory.Build.props | ||
Directory.Build.targets | ||
SignList.xml | ||
SkiaSharp.Build.WinUI.NetCore.targets | ||
SkiaSharp.Build.props | ||
SkiaSharp.Build.targets | ||
SkiaSharpSource.Linux.sln | ||
SkiaSharpSource.Mac.slnf | ||
SkiaSharpSource.Windows-net.slnf | ||
SkiaSharpSource.Windows-netfx.slnf | ||
SkiaSharpSource.Windows.slnf | ||
SkiaSharpSource.sln |