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
It seems that the parameters in Graphic.Transform have been accidentally swapped. The code reads:
Graphic.Transform
public Transform Transform { get { return Transform.StretchFillRect (ViewBox, new Rect (Point.Zero, Size)); } }
but should be:
public Transform Transform { get { return Transform.StretchFillRect (new Rect (Point.Zero, Size), ViewBox); } }
As a result, the canvas transformation applied by Graphic.Draw (which takes into account the Graphic.ViewBox) does not work correctly.
Graphic.Draw
Graphic.ViewBox
The text was updated successfully, but these errors were encountered:
Ahhh, thank you. I need to write a test for this.
Sorry, something went wrong.
I'm not so sure if the parameters are backwards. Can you provide a test for this?
praeclarum
No branches or pull requests
It seems that the parameters in
Graphic.Transform
have been accidentally swapped. The code reads:but should be:
As a result, the canvas transformation applied by
Graphic.Draw
(which takes into account theGraphic.ViewBox
) does not work correctly.The text was updated successfully, but these errors were encountered: