newGraphic problem
Karl Becker
karl at karlbecker.com
Mon Sep 9 19:11:03 EDT 2002
I'm using 2.4.3. Maybe I explained this wrong.
I want it to work only on the graphic, not on the rect of the graphic.
I'm calling the function:
within( grc id drawnID, bufLoc ) --actual syntax
and it is returning true, even when bufLoc (an x,y location) is clearly
not in the drawn portion of the graphic. It's returning true even when
the location is outside of the weird (read: non-rectangular) bounds of
the object.
On Monday, September 9, 2002, at 05:32 PM, Mark Talluto wrote:
>
> On Monday, September 9, 2002, at 02:36 PM, Karl Becker wrote:
>
>> I'm having a problem with a newGraphic call.
>>
>> I'm intercepting when a new graphic is created in my stack because I
>> want to populate the inside region of the newly-drawn graphic with a
>> bunch of images. The graphic is a curve, so it's oddly shaped, not a
>> circle or rect.
>>
>> The problem is, in my newGraphic call, the
>> within( object, point )
>> function is returning true even if the point is not within the actual
>> space of the curve. If it's anywhere inside the rect of the graphic,
>> not the visible, filled space, the function is returning true.
>>
>> Any idea what the problem is? Possible bug?
>
> I tested this in 2.4.3 and found that it works only on the graphic,
> not the rect of the graphic. What version of MC are you using?
>
>
>
> Best regards,
> Mark Talluto
>
> http://www.canelasoftware.com
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
>
--
Karl Becker, KB Productions
http://www.karlbecker.com
More information about the metacard
mailing list