-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Merge Maui.Graphics into Maui! (net6.0) #8147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…uild main-71e6ecd67b08394482317c94db9ff35dc051ffbc-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.46 -> To Version 31.0.200-preview.14.52 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal From Version 6.0.200-rtm.22074.2 -> To Version 6.0.200-rtm.22078.8 (parent: Microsoft.Android.Sdk.Windows
…ild 20220201.40 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.13.1 -> To Version 15.2.300-preview.14.147
…uild main-4a71aa6217dabc75b8616ee72440d85352868118-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.46 -> To Version 31.0.200-preview.14.53 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal From Version 6.0.200-rtm.22074.2 -> To Version 6.0.200-rtm.22078.8 (parent: Microsoft.Android.Sdk.Windows
…ild 20220202.38 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.13.1 -> To Version 15.2.300-preview.14.163
…ild 20220203.53 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.13.1 -> To Version 15.2.300-preview.14.182
…ild 20220204.44 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.13.1 -> To Version 15.2.300-preview.14.200
This commit adds a PathF.AsScaledPath overload that allows the user to specify distinct X and Y scales. This is a necessary precursor for DrawPath, FillPath, and ClipPath to respect canvas scale settings. #302
This commit adds a DrawPathsScaled AbstractScenario (complimenting the existing DrawLinesScaled scenario) to demonstrate PathF scaling functionality #302
Add a new abstract scenario to demonstrate Canvas.Scale() with distinct X and Y scales. This test currently demonstrates a bug described by #302 where only the X scale is respected when drawing paths.
This commit fixes a bug described by #302 where DrawPath, FillPath, and ClipPath only considered the X scale factor. This fix resolves this issue, as demonstrated by the new ScaleCanvas GraphicsTester scenario.
…-89eaef8bacdf [main] Update dependencies from xamarin/xamarin-macios
…-9981cf2e4b88 [main] Update dependencies from xamarin/xamarin-android
Color: add overloads so `int` does not get clamped like a `float`
ScalingCanvas: DrawPath, FillPath, and ClipPath respect distinct X and Y scales
Software Bill of Materials (SBOM) manifest generation
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220207.42 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.217 * Update dependencies from https://github.com/xamarin/xamarin-android build main-4342afd8dc89202bb501d0552a7945fbed8101d3-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.57 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22106.1 (parent: Microsoft.Android.Sdk.Windows * Remove emsdk explicit version * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220208.27 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.235 * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220209.36 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.244 * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220210.25 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.249 * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220211.24 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.252 * Update dependencies from https://github.com/xamarin/xamarin-android build main-f9892cc8e63f6990ef4e4c426dde66a84d0d3816-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.74 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220214.17 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.254 * Update dependencies from https://github.com/xamarin/xamarin-android build main-ee4322054292a8f6e33ca6c53fe9ce609fce3c95-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.77 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220215.73 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.5 * Update dependencies from https://github.com/xamarin/xamarin-android build main-db56e3877069a5c519f61a0b1722726f890c77a6-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.84 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220216.36 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.18 * Update dependencies from https://github.com/xamarin/xamarin-android build main-25e0eefbd20bb4778a4717e4ef587a080c82bca0-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.89 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-android build main-ebdd4b826cc208202ac1793484cad2fe0036abc2-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.91 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-android build main-d73e048af287b32c69d825191337927081bf8d3c-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.93 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220219.1 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.34 * Update dependencies from https://github.com/xamarin/xamarin-android build main-0583ca1d3a44f4ffc6a29b487ef2b4ed33d2c067-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.95 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Bump iOS, bring back emsdk * try removing the signing until we can build * try get things to run * 🕵🏼 * wrong thing * and vs again * wrong files * build all again * Update dependencies from https://github.com/xamarin/xamarin-android build main-0583ca1d3a44f4ffc6a29b487ef2b4ed33d2c067-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.95 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Try this way * And this one * moar * asdf * asdf * asdf * try params * asdf * asdf * asdf * sadf * asdf * :( * asdf Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: redth <jondick@gmail.com> Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
…ild 20220221.19 (#321) Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.302-preview.14.34 -> To Version 15.2.302-preview.14.40 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
…uild main-5d2bc5eded8442da5baf35ee67bf4f719b8d466f-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.95 -> To Version 31.0.200-preview.14.97
…ild 20220223.36 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.302-preview.14.40 -> To Version 15.2.302-preview.14.56
…uild main-4fb6056c555c3f293c068740e7a10a1be5de784c-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.95 -> To Version 31.0.200-preview.14.99
This was referenced Jul 13, 2022
Member
Author
|
Merged into main with this PR: #8739 No need for net6 to have this much changes as we can still release from the previous repo. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
There are several reasons this is a good idea:
Tasks
The only code changes to this was to make sure it could build in the new, stricter repo. This included changes to nullability checks and other warnings. There is no functional changes and I even copied over the same tests and samples.
The reason to not use maui itself in the graphics samples is because:
a) I didn't want to change anything
b) maui is not required and testing graphics without maui is not hard or a lot of code
c) allows devs to contribute to graphics without even touching maui code in this repo.
I have also opened issues for each platform that was not brought along. This included GTK, UWP and Blazor. Not because we don't want to support them, just that we never published nugets for them, they don't build as-is and this PR has to be merged soon. Those platforms can be added to this repo in a new PR if there is any demand for it.
Issues Fixed
Fixes #7901