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

In the 'Lines' visual test a 3 segment polyline is appearing as a 2-segment line #47

Open
monoman opened this issue Aug 2, 2021 · 2 comments
Assignees
Labels

Comments

@monoman
Copy link
Contributor

monoman commented Aug 2, 2021

Describe the bug
image

To Reproduce
Steps to reproduce the behavior:

  1. Run the SvgGdi test app
  2. Select 'Lines' in the combobox
  3. See error

Expected behavior
Same geometry.

Desktop (please complete the following information):

  • OS: Windows
  • Version: SvgNet.2.1.6

Additional context
Maybe it is unrelated but in the debug output appears: Exception thrown: 'System.ArgumentException' in System.Drawing.dll

@monoman monoman self-assigned this Aug 2, 2021
@monoman monoman added the bug label Aug 2, 2021
@T1G0FF
Copy link
Contributor

T1G0FF commented Aug 3, 2021

The angle on that SVG output looks like the 3rd point is halfway between the where the 3rd and 4th points are on the GDI.
I'm unable to look at the code at the moment, but some poor image editing suggests it is:
SVGNet_PolyLineBug
That might help narrow down where the bug is occurring.

@monoman
Copy link
Contributor Author

monoman commented Aug 3, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants