Spriteful TErminal GrAphics Protocol: Difference between revisions
| Line 6: | Line 6: | ||
* be able to discover support for the protocol at runtime | * be able to discover support for the protocol at runtime | ||
* provide a given bitmap in as few bytes as possible | * provide a given bitmap in as few bytes as possible | ||
* associate a bitmap with an identifier. this bitmap might not be wholly | * associate a bitmap with an identifier. this bitmap might not be wholly opaque—transparent pixels are of critical importance, translucency less so. i ought be able to reload the bitmap (keeping the size constant), and have it redrawn without flicker. | ||
* draw text atop the bitmap without a background color, so that the graphic is not obscured except where the glyph is defined | * draw text atop the bitmap without a background color, so that the graphic is not obscured except where the glyph is defined | ||
* move the bitmap in a flicker-free way elsewhere in the visible area | * move the bitmap in a flicker-free way elsewhere in the visible area | ||