Spriteful TErminal GrAphics Protocol: Difference between revisions

Line 79: Line 79:
* If text is being drawn top-to-bottom, you can fuck off.
* If text is being drawn top-to-bottom, you can fuck off.


Two arguments allow for pixel offsets to be applied to this implicit origin; the offsets may be negative. Note that this might lead to a negative horizontal and/or vertical coordinate for the graphic's origin; see [[#Beyond the visible area]] to deal with this situation.
Two arguments allow for pixel offsets to be applied to this implicit origin; the offsets may be negative. Note that this might lead to a negative horizontal and/or vertical coordinate for the graphic's origin; see [[#Beyond the visible area|above]] to deal with this situation.


After the graphic is drawn, the cursor is updated, once again depending on text direction:
After the graphic is drawn, the cursor is updated, once again depending on text direction: