Skip to content
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

Background updates #68

Merged
merged 1 commit into from
Feb 15, 2020

Conversation

MikeHillberg
Copy link
Contributor

Add some background to the top of the spec, and a few updates.

@MikeHillberg MikeHillberg requested a review from jesbis February 15, 2020 18:49
@MikeHillberg MikeHillberg requested a review from a team as a code owner February 15, 2020 18:49
@@ -38,26 +21,28 @@ Notable inconsistencies with the composition API include:
1. Usage of [Point](https://docs.microsoft.com/uwp/api/windows.foundation.point) rather than [Vector2](https://docs.microsoft.com/uwp/api/windows.foundation.numerics.vector2)/[float2](https://docs.microsoft.com/windows/win32/numerics_h/float2-structure)
2. Usage of [GradientStop](https://docs.microsoft.com/uwp/api/windows.ui.xaml.media.gradientstop) rather than [CompositionColorGradientStop](https://docs.microsoft.com/uwp/api/windows.ui.composition.compositioncolorgradientstop)

The main reason for the above is to enable Xaml markup parsing for brushes defined in markup.
The main reason for the above is to enable Xaml markup parsing for brushes defined in markup and consistency with the rest of the Xaml API.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've started using Numerics types for new Xaml properties against precedent (e.g. UIElement.Translation etc.) so we already have some inconsistency

@jesbis jesbis merged commit 8e8aed5 into user/jesbis/radgradapireview Feb 15, 2020
@jesbis jesbis deleted the user/mikehill/radgradapireview branch February 15, 2020 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants