Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## erase-to

Arguments: stream to

Erases (i.e. replaces with the background color or texture) from stream the line from the current position (as returned by current-position applied to stream) to the to position. to must be a position object (see make-position). stream should be a `graphical-stream`.

Contrast with draw-to which draws the line on stream.

To use individual coordinates rather than creating position objects, see erase-to-x-y.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version