Hello,
i am writting a plug-in using SDK 8.
In the plug-in I let user to select a region (rectangle) and then I walk through page contents to see which objects are inside the rectangle using "PDEElementIsAtRect".
However, for PDEText this function uses the text's bounding box. Also "PDETextIsAtRect" uses the bounding box.
Is there a method that is more accurate - that is, it checks actual character path to see whether the text is or is not in the selected region?
For example if the user selects a small rectangle comletely inside "O", I would like the "O" NOT to be selected. This is the way it would behave if the "O" was converted to outlines (PDEPath) and checked with "PDEElementIsAtRect".
Polda
No, there are no methods like that. You would need to do that yourself.