Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: Finding rotation of degrees of text

$
0
0

Thanks But i'm struggling,

 

I am going through the below concept

Polar and Cartesian Coordinates

 

I got the y value and i have checked its correctly coming, x values that is the width of the word i am not getting correctly.

 

Y calculation:

Result1=Total PDf Height-ASFixedRoundToInt16(cQuad.tl.v)

 

Result2=Result1-(ASFixedRoundToInt16(cQuad.br.h))

 

y=result2.

 

 

X calculation i am not getting.Kindly help me i have used above also to get width of word what i do?

Exact formula to get width of the word?=>x?

 

if i get x i can get the degrees.

            double resu = (y/x) * (180 / Math.PI);


Viewing all articles
Browse latest Browse all 10848

Latest Images

Trending Articles



Latest Images