Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5072854
By: mtraut
Hi, thanks using jPod!
It seems you found a little inconsistency with the API. "getNormalizedRectangle"
should deliver a rectangle whose width is positive. In addition, the method
in PDWidgetAnnotation does take into account the rotation (which is available
with widgets only), but does it by skipping the position (which is wrong..).
We will fix that.
You can workaround by falling back simply to "getRectangle", returning the rectangle
as defined in the annotation. You can still normalize it using
"getRectangle().copy().normalize()" if you need to assert extension in positive
coordinate direction.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=727492
|