diff options
author | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | 2012-04-22 11:32:02 +0000 |
---|---|---|
committer | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | 2012-04-22 11:32:02 +0000 |
commit | 0e5afb71c4f9ad296d0157d5ecdca0f7665d81f6 (patch) | |
tree | 7513e336dcebf3529c2f4c063d09342c55e9ccea /python | |
parent | 1e0caaba5fcef66e65da449b76828436b52ffb02 (diff) | |
download | ql570-0e5afb71c4f9ad296d0157d5ecdca0f7665d81f6.tar.gz ql570-0e5afb71c4f9ad296d0157d5ecdca0f7665d81f6.tar.xz ql570-0e5afb71c4f9ad296d0157d5ecdca0f7665d81f6.zip |
add extra examples
Diffstat (limited to 'python')
-rw-r--r-- | python/dkuugvideobig.py | 16 | ||||
-rw-r--r-- | python/dkuugvideosmall.py | 26 |
2 files changed, 42 insertions, 0 deletions
diff --git a/python/dkuugvideobig.py b/python/dkuugvideobig.py new file mode 100644 index 0000000..050876e --- /dev/null +++ b/python/dkuugvideobig.py @@ -0,0 +1,16 @@ +from label import label + +l = label(2500, width=720, landscape=True) +l.set_fontsize(600) +l.text((7, 10), "DKUUG") +l.save('dkuugvideobig_dkuug.png') + +l = label(2200, width=720, landscape=True) +l.set_fontsize(600) +l.text((7, 10), "VIDEO") +l.save('dkuugvideobig_video.png') + +l = label(1800, width=720, landscape=True) +l.set_fontsize(600) +l.text((7, 10), "KIT 1") +l.save('dkuugvideobig_kit1.png') diff --git a/python/dkuugvideosmall.py b/python/dkuugvideosmall.py new file mode 100644 index 0000000..fdd20b6 --- /dev/null +++ b/python/dkuugvideosmall.py @@ -0,0 +1,26 @@ +from label import label + +l = label(1250, landscape=True) +l.set_fontsize(300) +l.text((7, 10), "DKUUG") +l.save('dkuugvideosmall_dkuug.png') + +l = label(1100, landscape=True) +l.set_fontsize(300) +l.text((7, 10), "VIDEO") +l.save('dkuugvideosmall_video.png') + +l = label(1000, landscape=True) +l.set_fontsize(300) +l.text((7, 10), "KIT 1") +l.save('dkuugvideosmall_kit1.png') + +l = label(1000, landscape=True) +l.set_fontsize(300) +l.text((7, 10), "KIT 2") +l.save('dkuugvideosmall_kit2.png') + +l = label(950, landscape=True) +l.set_fontsize(300) +l.text((7, 10), "KIT 3") +l.save('dkuugvideosmall_kit3.png') |