Re: Dynamic Line Art - Clear action

Emmanuel BEUQUE (ebeuque@pratique.fr)
Wed, 24 Jun 1998 14:50:13 +0200

À (At) 11:24 +0100 24/06/98, Ian Medland écrivait (wrote) :
>The spec. says this action "fills up the bounding box with the
>OriginalRefFillColour".
>
>What happens if this colour is not 100 per cent opaque? If you have
>drawn anything in the object before the clear does this remain visible
>through the semi transparent fill, or is anything drawn before the fill
>supposed to quietly disappear so the transparency is onto the object
>below the DLA object? One answer fits with the concept of "clear" and
>the other with "fills the bounding box..."

Andreas has already given the answer but there is a confusion here I think.
What do you mean by "100 per cent opaque" ?
There is a "Transparency" attribute for Bitmap class but it doesn't apply
to LineArt one so that a lineArt color is always 100% opaque IMHO.

Regarding the OriginalRefFillColour, it is said to be transparent if not
encoded. Consequently, if you use the Clear action, you fill or set each
pixel of the DynamicLineArt with a transparent color i.e. the
DynamicLineArt becomes completely transparent.

HTH,
Emmanuel

__________________________________________________________________
Emmanuel BEUQUE mailto:ebeuque@pratique.fr
MediaServ tel: +33 (0) 2 99 64 35 64
Multimedia consultant & developer fax: +33 (0) 2 99 64 36 65