Source for file text.php
Documentation is available at text.php
* Main page to display the tests for Image_Transform
* @version $Id: text.php 162897 2004-07-08 21:42:28Z reywob $
* @copyright 2003 Peter Bowyer
$num_drivers = count($drivers);
print '<table border="1">';
// Print the library title above each column
for($i = 0; $i < $num_drivers; $i++ ){
print '<td>' . $drivers[$i] . '</td>';
// Print a header and then the test
$angles = array(90, 45, 30, 12);
for($i = 0; $i < count($angles); $i++){
print '<tr><td bgcolor="#CCCCCC" colspan="' . $num_drivers . '">Rotated at ' . $angles[$i] . ' degrees</td></tr>';
for($j = 0; $j < $num_drivers; $j++){
print '<td><img src="test.php?driver=' . $drivers[$j] . '&image=' . $image . '&cmd=rotate&angle=' . $angles[$i] . '"></td>';
print '<tr><td colspan="' . $num_drivers . '">AddText test</td></tr>';
for($i = 0; $i < $num_drivers; $i++ ){
print '<td><img src="test.php?driver=' . $drivers[$i] . '&image=' . $image . '&cmd=addText&text=This+is+text"></td>';
Documentation generated on Mon, 11 Mar 2019 15:48:01 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|