-
-
Notifications
You must be signed in to change notification settings - Fork 351
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
Path Data values have wrong format #53
Comments
debugging snoop turns out to be strange but fun... So I don't know yet where this conversion takes place, but I'm on it, will see in the next days. |
I have to admit, I'm wrong (and the ToString method of StreamGeometry is strange). With a few tests I'm pretty sure now that the problem is based on the Culture used to format values. |
added a pull request using GitKraken, unfortunately this created a new issue, sorry for that. |
#53 use InvariantCulture to display values
#54 was merged ... closing this issue. |
thanks. |
Hi,
snooping an application to get a given path geometry I stumbled over a behaviour I don't understand, but that might be a bug in Snoop:
The Data value of a WPF Path item is shown in Snoop as
F1M6;0C9,31371;0 12;2,68629 12;6 12;9,31371 9,31371;12 6;12 2,68629;12 -6,35783E-07;9,31371 -6,35783E-07;6 -6,35783E-07;2,68629 2,68629;0 6;0z M3;4L5;6 3;8 4;9 6;7 8;9 9;8 7;6 9;4 8;3 6;5 4;3 3;4z
This value cannot be used in XAML, VisualStudio raises an exception.
Replacing
,
by.
and;
by,
(in that order) fixed the problem.Nevertheless: Is there some strange localization of the values taking place or similar?
Probably worth to know: Running Windows in German
The text was updated successfully, but these errors were encountered: