[futurebasic] Re : [FB] ARCs into Regions?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 1999 : Group Archive : Group : All Groups

From: "jonathan" <jonathan@...>
Date: Fri, 15 Jan 1999 17:32:49 +0100
>Since both IM and FB manuals say you can't put an ARC shape in a
>region, does anyone know (Mars perhaps?) any way of getting around
>that or any clever (fast) way of detecting a click on an ARC segment?
>(preferably just the space between the Arc perimeter and its chord).

Wasn't there a discussion recently about building a region
from a pixmap - i believe that this was on a thread that mel
instigated concerning getting the size of a letter.

If such a routine exists then andy would only need to draw his arc in
an offscreen world, convert to a region, do an offset for the place
in the window where the arc originally exists, and voilĂ , test the
click with ptinrgn to see if the arc was clicked. Sounds like a mouth
full, but should be quite quick... if he can find the adequate
routine.

jonathan