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

No system.drawing #158

Merged
merged 9 commits into from
Aug 24, 2021
Merged

No system.drawing #158

merged 9 commits into from
Aug 24, 2021

Conversation

beto-rodriguez
Copy link
Owner

@beto-rodriguez beto-rodriguez commented Aug 24, 2021

Why?

The future of System.Drawing namespace seems unclear, this PR removes the reference to any object in this namespace, the library was only using Color, SizeF and PointF structs in this namespace, with this PR the library defines is own objects and removes the need to reference this namespace in the core packages.

Breaking Changes

Sadly this is the first PR that has breaking changes, but the changes are minimal and might not apply for everyone using the library.

  • Any property of type System.Drawing.Color now should use LiveChartsCore.Drawing.LvcColor.
  • Any property of type System.Drawing.SizeF now should use LiveChartsCore.Drawing.LvcSize.
  • Any property of type System.Drawing.PointF now should use LiveChartsCore.Drawing.LvcPoint.

@beto-rodriguez beto-rodriguez merged commit e6ccb30 into master Aug 24, 2021
@beto-rodriguez beto-rodriguez deleted the no-system.drawing branch August 24, 2021 18: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.

1 participant