Hi Circular,
I was able to use ToPoints, and I see now what you mean about the bounds - this is so that we don't have to scan the entire region, correct?
So it would look something like:
ctx.polylineTo(B.ToPoints(B.GetBounds,0.45));
where B is a TRationalQuadraticBezierCurve and ctx is a BGRACanvas2D, correct?
I was able to use the global function IsPointInPolygon, and now I can do hit testing (YAY!) but I was hoping to save off the path - right now I'm just calling ToPoints twice. I could save off the whole array of points, but when I try to just copy the path with copyTo (while using a BGRACanvas2D within a BGRAVirtualScreen), I get:
ucontroller.pas(118,7) Error: identifier idents no member "copyTo", which is weird because the IDE can find copyTo just fine.
Also: Is there a way I can enlarge the region for clicking slightly? Now that I think about it, I could draw a transparent Bezier with the same control points over the 'actual' bezier, and use those points for hit testing - is that the most efficient way to go about it?
Thanks for your help, and of course BGRABitmap!