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

Wrap and use SKMatrix4x4 #1864

Closed
wants to merge 7 commits into from
Closed

Wrap and use SKMatrix4x4 #1864

wants to merge 7 commits into from

Conversation

mattleibow
Copy link
Contributor

Right now just SKCanvas

Description of Change

Bugs Fixed

  • Related to issue #

API Changes

Behavioral Changes

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Updated documentation

Right now just SKCanvas
@mattleibow mattleibow marked this pull request as draft November 15, 2021 18:01
public static SKPoint operator * (SKPoint pt, float sz) =>
pt * new SKPoint (sz, sz);
public static SKPoint operator * (float sz, SKPoint pt) =>
new SKPoint (sz, sz) + pt;

Choose a reason for hiding this comment

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

			new SKPoint (sz, sz) * pt;

@mattleibow mattleibow added this to the v2.88.1 milestone May 22, 2022
@mattleibow mattleibow modified the milestones: v2.88.1, v2.88.x Planning Sep 11, 2022
@mattleibow
Copy link
Contributor Author

No longer needed as in skia v3 we are using SKM44 everywhere and I took a shortcut and it is a wrapper for Matrix4x4 from System.Numerics.

Probably losing out with the conversion, but we can do something later - maybe copy the implementation and use the same intrinsics. But with implicit converters, it is far less wasteful than interop with C...

@mattleibow mattleibow closed this Aug 31, 2023
@mattleibow mattleibow deleted the dev/m44 branch August 31, 2023 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants