sorry, my English is not so good to understand the details unequivocally.
I usually start with sth like this (taken from your github example, modified)
Code: Select all
#define GRAY25 64, 64, 64
#define YELLOW 255, 255, 0
#define SKYBLUE 135, 206, 235
//...
initWindowSize(20, 20, 600, 360);
init(&width, &height); // Graphics initialization
Start(width, height); // Start the picture
Background(GRAY25); // Black background
Fill(SKYBLUE, 1); // Big blue marble
Circle(width / 2, 0, width); // The "world"
Fill(YELLOW, 1); // yellow text
TextMid(width / 2, height / 2, "hello, world", SerifTypeface, width / 10);
//...
having done that, I want to erase the area (0, height/2, width, 50+height/2)
by
vgClear( 0, height/2, width, 50+height/2);
will it be then automatically be erased by Color GRAY25 because it was used for
Background(GRAY25)
most recently immediately before?