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

DrawingContext.DrawImage() method not draws an SvgImage in some cases #227

Open
VladimirDrobyshev opened this issue May 13, 2024 · 0 comments

Comments

@VladimirDrobyshev
Copy link

If target rectangle has non zero location and its size is not equal to SvgImage size the SvgImage is not dfrawing correctly.

SvgImage with size (20, 20)

  1. not drawns:
        context.DrawImage(svgImage, new Rect(100, 100, 10, 10));
  1. drawns correctly:
        context.DrawImage(svgImage, new Rect(0, 0, 10, 10));
  1. drawns correctly:
        context.DrawImage(svgImage, new Rect(100, 100, 20, 20));
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

No branches or pull requests

1 participant