<?
# EXAMPLE FILE
# -------------------------------------------------------------------------------
# Name: Pictoru's Gif Title
# Author: Ciprian Voicu
# Version: 1.0
# Date: 2006-08-29
# Description: • a simple class that creates and outputs gif images from
# ttf fonts, usefull for texts which are not supported by the
# browsers
# License: GNU GPL
# -------------------------------------------------------------------------------
require_once("class.pGifTitle.php");
$img=new pGifTitle();
# Title(string text[, int font[, int size[, string fontcolor[, string bgcolor[, bool transparent]]]]]);
# text - the outputed text
# font - font identifier
# fontcolor - sets the font color (ex: #FF0000 or FF0000)
# bgcolor - sets the background color
# transparent - sets the transparent property for the background color
$img->Title("Pictoru's Test", 1, 25, "FF0000", "FFFFFF", true);
?>
|