We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for the excellent library!
When drawing concentric circles on a wide image using DrawEllipseCentered the outer circles appear compressed/deformed.
DrawEllipseCentered
using (writeableBitmap.GetBitmapContext()) { var centreX = (int) (writeableBitmap.Width / 2D); var centreY = (int) (writeableBitmap.Height / 2D); for (int i = 1; i <= 100; i++) { var radius = i * 50; writeableBitmap.DrawEllipseCentered(centreX, centreY, radius, radius, ConvertColor(Colors.Red)); } }
The bitmap is passed to a WPF image control with Stretch="None".
Stretch="None"
The text was updated successfully, but these errors were encountered:
The bigger circles are not even drawn:
After changing all the ints to long in DrawEllipseCentered:
I changed the following:
(I don't know how this type change affects the performance... on a 64 bit CPU it should not be a problem)
NOTE: My screenshots are scaled.. in the original size they are perfect circles.
Sorry, something went wrong.
No branches or pull requests
Thanks for the excellent library!
When drawing concentric circles on a wide image using
DrawEllipseCentered
the outer circles appear compressed/deformed.The bitmap is passed to a WPF image control with
Stretch="None"
.The text was updated successfully, but these errors were encountered: