-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Blittable color #106575
base: main
Are you sure you want to change the base?
Blittable color #106575
Conversation
Note regarding the
|
1 similar comment
Note regarding the
|
CC. @JeremyKuhne, is WinForms ready to start using these types if exposed? Adding them has only been blocked as that was the primary user and we didn't want to expose them without WinForms adopting them in the same release |
Rgba.Tests
@tannergooding I'll be consuming this in WinForms WPF this cycle after it goes in. |
@@ -0,0 +1,29 @@ | |||
<Project Sdk="Microsoft.NET.Sdk"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was talking with @JeremyKuhne and his expectation matched mine, which was this was going to be part of the existing System.Numerics.Vectors
package rather than a net new package.
Particularly for acceleration and support around float
, there is likely to be a need for these (the color and existing Vector4/Matrix4x4/etc types) to be used in conjunction. The "downside" is that since System.Numerics.Vectors
is in-box and frozen downlevel these new types would never be available on .NET Framework. However, that isn't a concern from the WinForms/WPF team (much as any of the other new graphics related vector/matrix/plane/etc APIs aren't available downlevel).
CC. @ericstj, just for additional confirmation there isn't something we're missing here
Close #48615