diff options
| author | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2004-05-19 04:59:31 +0000 |
|---|---|---|
| committer | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2004-05-19 04:59:31 +0000 |
| commit | d0a9b9a03fc7ae74ef8a64593ac6b592526ec4d5 (patch) | |
| tree | e03d2a7fac8c7619f1286545f717ef7ee3866cd6 /examples/pstext.php | |
- initial import
git-svn-id: https://siedziba.pl:790/svn/repos/php-imlib/trunk@7 455248ca-bdda-0310-9134-f4ebb693071a
Diffstat (limited to 'examples/pstext.php')
| -rw-r--r-- | examples/pstext.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/pstext.php b/examples/pstext.php new file mode 100644 index 0000000..93c9153 --- /dev/null +++ b/examples/pstext.php @@ -0,0 +1,10 @@ +<?php + +$fnt = imlib_psloadfont("ariam___.pfb"); +$im = imlib_create_image(300,50); +imlib_image_fill_rectangle($im,0,0,300,50,0,150,150,255); +imlib_pstext($im,'Text String...',$fnt,30,5,20,255,255,0,255,100,100,-5,16); +header('Content-type: image/png'); +imlib_dump_image($im); + +?>
\ No newline at end of file |
