#SCreen Clear
2 messages in this thread
I've created a screen for a vector maze type game that has a display something
like so:
_________________________________ |\ /| | \
/ | | \_________________________/ | | | | | | |
| | | | | | | |________________________| | | /
\ | | / \ | | / \|
———————————
How can I clear the area inside the outer rectangle without having to replot
and redraw the walls in the background color? I want to leave the outer
rectangle intact, just clear the pixels inside of it.
BTW – The maze is drawn on a Backdrop window opened on a custom screen.
Thanks,
Gary
Gary,
This isn't an answer to your question. But, as you've likely found out,
editors on Compuserve have this habit of running lines together unless they
start with a space character. So I'm sure you intended to draw this:
_________________________________
|\ /|
| \ / |
| \_________________________/ |
| | | |
| | | |
| | | |
| |________________________| |
| / \ |
| / \ |
| / \|
———————————
And, repeating your question so that somebody here can try their hand at
answering, it was:
"How can I clear the area inside the outer rectangle without having to replot
and redraw the walls in the background color? I want to leave the outer
rectangle intact, just clear the pixels inside of it."
[I've been caught on folding lines quite a few times, too; especially when
I'm trying to show coding. The tech types here tell me it has something to do
with rubber chickens].
–Jim