/**
* A general image class
*
- * @author Roland Haeder <webmaster@ship-simu.org>
+ * @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
* @license GNU GPL 3.0 or any newer version
- * @link http://www.ship-simu.org
+ * @link http://www.shipsimu.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*/
private $height = '';
+ /**
+ * X/Y
+ */
+ private $x = '';
+ private $y = '';
+
+ /**
+ * Font size
+ */
+ private $fontSize = '';
+
+ /**
+ * Image string
+ */
+ private $imageString = '';
+
/**
* Background color in RGB
*/
// Walk through all groups
foreach ($templateInstance->getVariableGroups() as $group => $set) {
// Set the group
- $templateInstance->setVariableGroup($group, false);
+ $templateInstance->setVariableGroup($group, FALSE);
// Compile image string
$imageString = $templateInstance->compileRawCode($this->getString());
$size = $templateInstance->compileRawCode($this->getFontSize());
// Set the image string
- //* DEBUG: */ echo __METHOD__.": size={$size}, x={$x}, y={$y}, string={$imageString}<br />\n";
+ //* DEBUG: */ print __METHOD__.": size={$size}, x={$x}, y={$y}, string={$imageString}<br />\n";
imagestring($this->getImageResource(), $size, $x, $y, $imageString, $foreColor);
} // END - foreach
break;