You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by AK <ak...@gmail.com> on 2012/08/27 11:09:44 UTC
How to adjust the Top and left for shape
Hi All,
Need help in adjusting the top and left of the shape when rotation value is
set.
For Ex :
<p:spPr bwMode="auto">
<a:xfrm rot="5400000">
<a:off x="2443049" y="-1042472" />
<a:ext cx="304800" cy="4419600" />
</a:xfrm>
<a:prstGeom prst="rect">
<a:avLst />
</a:prstGeom>
<a:ln>
<a:headEnd />
<a:tailEnd />
</a:ln>
</p:spPr>
I have the above data. I have calculated the rotation angle accordingly.
Now when creating the shape and displaying it in an html format, need to
adjust the top and left (off x="2443049" y="-1042472") values to align it
properly. Kindly provide a solution to calculate proper top and left values
to set.
thanks