> Derek: > > Don't need one. Use the QuickDraw toolbox commands to see if there is a > common area between the rectangle and your line. You do this by: 1) Opening > a region; 2) Drawing you line: 3) Closing the region; 4) Using Boolean = FN > RECTINRGN (rect&, rgn&). See page 299 of the FB Handbook. > > tedd Tedd: I was hoping there was a mathematical approach to the problem as I have to do it fast for 'phasers' in a game and fooling with regions every frame may be kinda slow. Somebody pointed me in a good direction and hopefully I can work out the math. I'll post to the webring if I get it. Thanks. -Derek ---------------- www2.hawaii.edu/~dereksmi ----------------