EMISETSA
→ REPLACEA mode where the last thing drawn takes the place of the whole canvas.
EMISETSAEMISETSA is a striking mode, and a dangerous one if you are not watching. It is not that the little shape takes the place of what is under it — it wipes out what is outside it as well.
Measured: with the canvas at (200, 100, 50), drawing a (100, 150, 200) rectangle under EMISETSA makes the pixel inside the rectangle (100, 150, 200) — and the pixel outside it completely empty. The background is gone.
So EMISETSA is normally used when you want to start afresh, not when you want to mix colours.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 200);
bokamorago(200, 100, 50);
tlogelaMothalo();
tlatsaMmala(255);
thalaSediko(100, 100, 120);
seeloSaMotswako(EMISETSA);
tlatsaMmala(100, 150, 200);
thalaKhutlonne(140, 50, 200, 100);
seeloSaMotswako(MOTSWAKO);
tlhalosa('Khutlonne e le nngwe fela ya botala jwa loapi e e setseng; bokamorago jwa serolwana le sediko se sesweu di nyeletse.');
}