TranslateTransform appearing on converted xaml text
#7
I agree that having TranslateTransform with X and Y almost zero does not look nice. But it also does not hurt. As said before it is created when have AutoSize property set to true before reading svg file. For historical reasons in Ab2d.ReaderSvg this is set to true by default (so you need to manually set it to false). In ViewerSvg this is set to false by default (set in the main ViewerSvg window).

The reason that you have so many DrawingGroup is the structure of your svg file - you have many group ("g") elements there.

I will improve the code so in case the X and Y for TranslateTransform are almost zero or very small regarding the whole size, I will not display the TranslateTransform any more.
Andrej Benedik
  


Messages In This Thread
RE: TranslateTransform appearing on converted xaml text - by abenedik - 04-17-2014, 09:03 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)