Zeile 127 | Zeile 127 |
---|
/** * Draws a random number of lines on the image. *
|
/** * Draws a random number of lines on the image. *
|
* @param resource The image.
| * @param resource $im The image.
|
*/ function draw_lines(&$im) {
| */ function draw_lines(&$im) {
|
Zeile 148 | Zeile 148 |
---|
/** * Draws a random number of circles on the image. *
|
/** * Draws a random number of circles on the image. *
|
* @param resource The image.
| * @param resource $im The image.
|
*/ function draw_circles(&$im) {
| */ function draw_circles(&$im) {
|
Zeile 169 | Zeile 169 |
---|
/** * Draws a random number of dots on the image. *
|
/** * Draws a random number of dots on the image. *
|
* @param resource The image.
| * @param resource $im The image.
|
*/ function draw_dots(&$im) {
| */ function draw_dots(&$im) {
|
Zeile 186 | Zeile 186 |
---|
/** * Draws a random number of squares on the image. *
|
/** * Draws a random number of squares on the image. *
|
* @param resource The image.
| * @param resource $im The image.
|
*/ function draw_squares(&$im) {
| */ function draw_squares(&$im) {
|
Zeile 208 | Zeile 208 |
---|
/** * Writes text to the image. *
|
/** * Writes text to the image. *
|
* @param resource The image. * @param string The string to be written
| * @param resource $im The image. * @param string $string The string to be written * * @return bool False if string is empty, true otherwise
|
*/ function draw_string(&$im, $string) {
| */ function draw_string(&$im, $string) {
|
Zeile 304 | Zeile 306 |
---|
imagedestroy($temp_im); } }
|
imagedestroy($temp_im); } }
|
| return true;
|
}
| }
|