diff options
Diffstat (limited to 'Kod/bilbana/yc4/display/put_text.m')
| -rw-r--r-- | Kod/bilbana/yc4/display/put_text.m | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Kod/bilbana/yc4/display/put_text.m b/Kod/bilbana/yc4/display/put_text.m new file mode 100644 index 0000000..5b80192 --- /dev/null +++ b/Kod/bilbana/yc4/display/put_text.m @@ -0,0 +1,9 @@ +function [pkg] = put_text(x, y, justification, text) + code = double(strjoin({'Z', justification}, '')); + + arg1 = [x, 0, y, 0]; + arg2 = text; + arg3 = 0; + + pkg = get_package(code, [arg1 double(arg2) arg3]); +end |
