<?php
/**
* This class implements the Horde_Image:: API for the PHP GD
- * extension. It mainly provides some utility functions, such as the
- * ability to make pixels, for now.
+ * extension.
*
* Copyright 2002-2010 The Horde Project (http://www.horde.org/)
*
/**
* GD Image resource for the current image data.
*
- * @TODO: Having this protected probably breaks effects
* @var resource
*/
protected $_im;
}
/**
+ * Get numeric font size from textual description
*
+ * @param string $font The textual size description
*
- * @param $font
- * @return unknown_type
+ * @return integer
*/
private function _getFont($font)
{
/**
* Load the image data from a string.
*
- * @param string $id An arbitrary id for the image.
* @param string $image_data The data to use for the image.
*
* @return void
- * @throws Horde_Image_Exception
*/
public function loadString($image_data)
{
* the text.
* @param string $fontsize The font (size) to use.
*
- * @return @TODO
+ * @return boolean
*/
public function text($string, $x, $y, $font = 'monospace', $color = 'black', $direction = 0, $fontsize = 'small')
{