From 488707a834899a2aee23532e55bd662c9d3b5fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Sun, 17 Nov 2019 21:31:54 +0100 Subject: rename some functions --- Kod/bilbana/yc4/display/text.m | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Kod/bilbana/yc4/display/text.m (limited to 'Kod/bilbana/yc4/display/text.m') diff --git a/Kod/bilbana/yc4/display/text.m b/Kod/bilbana/yc4/display/text.m new file mode 100644 index 0000000..e31ecc3 --- /dev/null +++ b/Kod/bilbana/yc4/display/text.m @@ -0,0 +1,7 @@ +function [pkg] = text(x, y, justification, text) +arg1 = [mod(x, 256), x ./ 256, mod(y, 256), y ./ 256]; +arg2 = text; +arg3 = 0; + +pkg = get_package(strjoin({'Z', justification}, ''), [arg1 double(arg2) arg3]); +end -- cgit v1.2.1