Color alpha support. (#884)

This commit is contained in:
Arthur Sonzogni
2024-06-13 18:43:14 +02:00
committed by GitHub
parent d6a2049483
commit ff305147ca
8 changed files with 162 additions and 33 deletions

View File

@@ -23,6 +23,7 @@ class ClearUnder : public NodeDecorator {
for (int y = box_.y_min; y <= box_.y_max; ++y) {
for (int x = box_.x_min; x <= box_.x_max; ++x) {
screen.PixelAt(x, y) = Pixel();
screen.PixelAt(x, y).character = " "; // Consider the pixel written.
}
}
Node::Render(screen);