Re: Dynamic Line Art - Clear action

Andreas Kraft (kraft@fokus.gmd.de)
Wed, 24 Jun 1998 13:07:58 +0200 ((MEZ) - Mitteleurop. Sommerzeit)

Ian,

On Wed, 24 Jun 1998, Ian Medland 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..."

There are two possibilities for the interpretation of clearing a canvas.
One is that everything is removed from the canvas, the other one is that
the canvas is completly filled with a specific colour. The first alternative
implies that the objects drawn are stored somewhere so that you can
identify them for the removal.
However, the idea of the DynamicLineArt object is that it provides a very
simple approach for drawing two-dimensional graphics. The drawn objects are not
stored.

So, to answer your question: every pixel of the canvas (aka BoundingBox) is
redrawn with the OriginalRefFillColour.

Best regards,

Andreas

--
  o  _     Andreas Kraft
 (\_|_)      GMD FOKUS, kraft@fokus.gmd.de, +49 30 3463-7232
 T> ] [        The sky is the limit