Hey guys……

Did you get my problem….if yes please do help me.

 

Regards,

Ravikant

From: Ravikant Dubey [mailto:ravikant.dubey@sebiz.in]
Sent: Friday, August 20, 2010 6:38 PM
To: pdfedit-devel@lists.sourceforge.net
Subject: confusion about coordinates

 

Hi

Whenever I am creating xml using this:

                        page->convert<SimpleWordEngine, SimpleLineEngine, SimpleColumnEngine> (out)

 

x coordinates are coming different from what I am getting by calling getBBox()

whereas y coordinates are coming correct. I am bit confused why x coordinates are coming different.

Please do help me.

 

For ur reference I am giving both values for same object:

By getBBox():

bbox = {xleft=99.000000000000000 yleft=326.66213000000005 xright=171.56416399999992 yright=335.3317100000000}

 

By convert to xml

<line bbox="xleft: 171.564 yleft: 335.332 xright: 244.128 yright: 326.662" >

 

Regards,

Ravikant