init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
18
vendor/gregwar/image/Gregwar/Image/demo/cacheCreate.php
vendored
Normal file
18
vendor/gregwar/image/Gregwar/Image/demo/cacheCreate.php
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
require_once '../autoload.php';
|
||||
|
||||
use Gregwar\Image\Image;
|
||||
|
||||
/*
|
||||
* Use the cache with a from-scratch image
|
||||
*/
|
||||
|
||||
echo
|
||||
Image::create(300, 350)
|
||||
->fill('rgb(255, 150, 150)')
|
||||
->circle(150, 150, 200, 'red', true)
|
||||
->write('./fonts/CaviarDreams.ttf', 'Hello world!', 150, 150, 20, 0, 'white', 'center')
|
||||
->jpeg();
|
||||
|
||||
echo "\n";
|
||||
Loading…
Add table
Add a link
Reference in a new issue