Quantcast
Viewing all articles
Browse latest Browse all 18858

converting svg path to a rectangle.

Hello friends,

objective : Convert an svg rectangle to xaml rectangle and calculate following attributes.

X ,Y ,RX, RY, Height ,Width

for a given sample path (<path d="M0 585.9 A9.42477 9.37886 -180 0 0 9.42 595.28 L141.37 595.28 A9.42477 9.37886 -180 0 0 150.79 585.9          L150.79 377.79 A9.42477 9.37886 -180 0 0 141.37 368.41 L9.42 368.41 A9.42477 9.37886 -180 0 0 0          377.79 L0 585.9 Z" class="st1" />)  ,

any idea around how this calculation can be done.

appreciate any help or pointers, this should work for Silverlight.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>