diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-08-29 00:01:08 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-08-29 00:01:08 -0700 |
commit | 8e182e394e492b9ff157dc88837dee894893c1ee (patch) | |
tree | 654d31f3ff130f9d23ecf12d36500612f6402f77 /400.mu | |
parent | bc859a7ca4713b290fa9d7dea187fde55568ab29 (diff) | |
download | mu-8e182e394e492b9ff157dc88837dee894893c1ee.tar.gz |
width-aware drawing primitives
No support yet for drawing wide graphemes.
Diffstat (limited to '400.mu')
-rw-r--r-- | 400.mu | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/400.mu b/400.mu index 7eba6f46..fe2263a4 100644 --- a/400.mu +++ b/400.mu @@ -1,7 +1,8 @@ # screen sig pixel-on-real-screen x: int, y: int, color: int -sig draw-grapheme-on-real-screen g: grapheme, x: int, y: int, color: int, background-color: int -sig draw-grapheme-on-screen-array screen-data: (addr array byte), g: grapheme, x: int, y: int, color: int, background-color: int, screen-width: int, screen-height: int +sig draw-grapheme-on-real-screen g: grapheme, x: int, y: int, color: int, background-color: int -> _/eax: int +sig draw-grapheme-on-screen-array screen-data: (addr array byte), g: grapheme, x: int, y: int, color: int, background-color: int, screen-width: int, screen-height: int -> _/eax: int +sig wide-grapheme? g: grapheme -> _/eax: boolean sig cursor-position-on-real-screen -> _/eax: int, _/ecx: int sig set-cursor-position-on-real-screen x: int, y: int sig draw-cursor-on-real-screen g: grapheme |