New Forum | Previous | Next | (P-PDF) Developers
Topic: Path elements with Rect coordinates
Conf: (P-PDF) Developers, Msg: 137044
Date: 7/30/2005 04:53 AM
Can someone help me out here? I have some code that is trying to find bounded regions on a form layout. I was originally using PDEElementGetBBox, but found that it was apparently revealing detail that was not visible on the form. Even when I added code to ignore elements that were not visible I was getting the same result. I then discovered that in some cases the Path would contain multiple visible structures (such as 4 check box type rects). I bit the bullet and started to examine the data of the path elements and now everything is almost correct except that, whenever the path contains a rect (as opposed to lineTo), the coordinates do not match the visible lines on the form (LineTos match perfectly). I tried PDEElementGetMatrix and ASFixedMatrixConcat and also ASFixedMatrixTransform but that made no difference. The recvtangles appear to be translated, some even have negative coordinates. What am I missing?