I'll assume that x/y/width/height represent an untransformed
rectangle, and that you want to test whether the point is inside
the quadrilateral formed by transforming the rectangle with aft.
If that's the question, I see two approaches:
- Transform the rectangle and represent the result as a
Polygon, then use Polygon's contains() method.
- Inverse-transform the point and test whether the transformed
point is inside the original rectangle.
If that's not the question, please explain more fully.
--
Eric Sosman
eso...@comcast-dot-net.invalid