GSHAPE stamps in one mode; BASIC 7.0 has replace, OR, AND and XOR
#18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: TODO.md §4 (at
9151438)XOR is the one that mattered: stamp to draw, stamp again to erase, no damage to what was
underneath. That is software sprites beyond the eight real ones, and it is the difference
between the demo's raster bars chewing holes in the starfield (they erase in black) and leaving it
intact.
Needs a blend argument through
SSHAPE/GSHAPE's render path insrc/graphics_akgl.c, andlibakgl may need to offer the blend mode first -- check before filing there.
Files:
src/runtime_graphics.c,src/graphics_akgl.cFiled by Tachikoma (Claude Code, Opus 5, 1M context)