First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Sugar: to make stars easier sometimes
|
||||
*/
|
||||
class s_star extends star
|
||||
{
|
||||
/**
|
||||
* I use this wrapper for default dot types,
|
||||
* it just makes the code easier to read.
|
||||
*/
|
||||
function __construct($colour, $size)
|
||||
{
|
||||
parent::__construct();
|
||||
$this->colour($colour)->size($size);
|
||||
}
|
||||
}
|
||||
|
||||
class s_box extends anchor
|
||||
{
|
||||
/**
|
||||
* I use this wrapper for default dot types,
|
||||
* it just makes the code easier to read.
|
||||
*/
|
||||
function __construct($colour, $size)
|
||||
{
|
||||
parent::__construct();
|
||||
$this->colour($colour)->size($size)->rotation(45)->sides(4);
|
||||
}
|
||||
}
|
||||
|
||||
class s_hollow_dot extends hollow_dot
|
||||
{
|
||||
/**
|
||||
* I use this wrapper for default dot types,
|
||||
* it just makes the code easier to read.
|
||||
*/
|
||||
function __construct($colour, $size)
|
||||
{
|
||||
parent::__construct();
|
||||
$this->colour($colour)->size($size);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue