constructor Image_Text::Image_Text | Image_Text::display |
Image_Text | |
PEAR Manual | |
require_once 'ImageText.php'; |
int Image_Text::autoMeasurize (
int $start = FALSE
, int $end = FALSE
)
Automatically determines the greatest possible font size to fit the text into the text box. This method may be very resource intensive on your webserver. A good tweaking point are the $start and $end parameters, which specify the range of font sizes to search through. Anyway, the results should be cached if possible. You can optionally set $start and $end here as a parameter or the settings of the options array are used.
Fontsize to start testing with.
Fontsize to end testing with.
returns Fontsize measured or PEAR::Error.
throws no exceptions thrown
This function can not be called statically.
constructor Image_Text::Image_Text | Image_Text::display |
Image_Text | |
PEAR Manual | |