diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-20 15:10:56 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-20 15:10:56 +0100 |
| commit | beb0792f35d52cb1f95ecb7c3c4342740b6bc53e (patch) | |
| tree | e988a35a86e7006895fde9b7a721ec118fbf21e4 /Kod/bilbana/yc4/display/put_text.m | |
| parent | b5fb0790fd8c2820eae6c153bf7cd88beeaa0aa6 (diff) | |
| download | tfyy51-beb0792f35d52cb1f95ecb7c3c4342740b6bc53e.tar.gz | |
Rename conflicting function-names
Diffstat (limited to 'Kod/bilbana/yc4/display/put_text.m')
| -rw-r--r-- | Kod/bilbana/yc4/display/put_text.m | 7 |
1 files changed, 7 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..8157a65 --- /dev/null +++ b/Kod/bilbana/yc4/display/put_text.m @@ -0,0 +1,7 @@ +function [pkg] = put_text(x, y, justification, text) +arg1 = [get_bytes(x), get_bytes(y)]; +arg2 = text; +arg3 = 0; + +pkg = get_package(strjoin({'Z', justification}, ''), [arg1 double(arg2) arg3]); +end |
