function printElement() { echo '<svg'; $this->printParams('id', 'width', 'height', 'x', 'y', 'viewBox', 'style'); echo ' xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">' . "\n"; parent::printElement(); echo "</svg>\n"; }
function printElement() { echo '<desc'; $this->printParams('id', 'style'); echo '>' . $this->_desc; parent::printElement(); echo "</desc>\n"; }
function printElement() { echo '<tref'; $this->printParams('id', 'x', 'y', 'dx', 'dy', 'rotate', 'textLength', 'lengthAdjust', 'style'); echo '>' . $this->_text; parent::printElement(); echo "</tref>\n"; }
function printElement() { echo '<g'; $this->printParams('id', 'style', 'transform', 'filter'); print ">\n"; parent::printElement(); print "</g>\n"; }
function printElement() { echo '<stop'; $this->printParams('id', 'style', 'offset', 'stop-color', 'stop-opacity'); echo '>'; parent::printElement(); echo "</stop>\n"; }
function printElement() { echo '<defs'; $this->printParams('id', 'style', 'transform'); echo ">\n"; parent::printElement(); echo "</defs>\n"; }
function printElement() { echo '<radialGradient'; $this->printParams('id', 'cx', 'cy', 'r', 'fx', 'fy'); echo '>'; parent::printElement(); echo "</radialGradient>\n"; }
function printElement() { echo '<title'; $this->printParams('id', 'style'); print ">\n"; print $this->_title; parent::printElement(); print "</title>\n"; }
function printElement() { echo '<tspan'; $this->printParams('id', 'x', 'y', 'dx', 'dy', 'rotate', 'textLength', 'lengthAdjust', 'style', 'transform'); echo '>' . $this->_text; if (is_array($this->_elements)) { parent::printElement(); } echo "</tspan>\n"; }
function printElement() { echo '<marker'; $this->printParams('id', 'refX', 'refY', 'markerUnits', 'markerWidth', 'markerHeight', 'orient'); if (is_array($this->_elements)) { // Print children, start and end tag. print ">\n"; parent::printElement(); print "</marker>\n"; } else { print "/>\n"; } }
function printElement() { echo '<animate'; $this->printParams('id', 'attributeName', 'attributeType', 'from', 'to', 'begin', 'dur', 'fill'); if (is_array($this->_elements)) { // Print children, start and end tag. echo ">\n"; parent::printElement(); echo "</animate>\n"; } else { echo " />\n"; } }
function printElement($element = 'textpath') { echo '<' . $element; $this->printParams('id', 'x', 'y', 'dx', 'dy', 'rotate', 'textLength', 'lengthAdjust', 'style', 'transform'); echo '>'; if (isset($this->_charset)) { echo @htmlspecialchars($this->_text, ENT_COMPAT, $this->_charset); } else { echo htmlspecialchars($this->_text); } parent::printElement(); echo "</{$element}>\n"; }
function printElement() { echo '<filter'; $this->printParams('id'); if (is_array($this->_elements)) { // Print children, start and end tag. echo ">\n"; parent::printElement(); echo "</filter>\n"; } else { echo " />\n"; } }
function printElement() { echo '<path'; $this->printParams('id', 'd', 'style', 'transform'); if (is_array($this->_elements)) { // Print children, start and end tag. print ">\n"; parent::printElement(); print "</path>\n"; } else { // Print short tag. print "/>\n"; } }
function printElement() { $name = 'fe' . $this->_primitive; echo '<' . $name; $this->printParams('id', 'x', 'y', 'dx', 'dy', 'width', 'height', 'in', 'in2', 'result', 'mode', 'type', 'values', 'operator', 'k1', 'k2', 'k3', 'k4', 'surfaceScale', 'stdDeviation', 'diffuseConstant', 'kernelUnitLength', 'flood_color', 'flood_opacity'); if (is_array($this->_elements)) { // Print children, start and end tag. echo ">\n"; parent::printElement(); echo '</' . $name . '>'; } else { echo '/>'; } }
function printElement() { echo '<circle'; $this->printParams('id', 'cx', 'cy', 'r', 'style', 'transform'); if (is_array($this->_elements)) { // Print children, start and end tag. echo ">\n"; parent::printElement(); echo "</circle>\n"; } else { // Print short tag. echo "/>\n"; } }
function printElement() { echo '<rect'; $this->printParams('id', 'x', 'y', 'width', 'height', 'rx', 'ry', 'style'); if (is_array($this->_elements)) { // Print children, start and end tag. print ">\n"; parent::printElement(); print "</rect>\n"; } else { // Print short tag. print "/>\n"; } }
function printElement() { echo '<line'; $this->printParams('id', 'x1', 'y1', 'x2', 'y2', 'style'); if (is_array($this->_elements)) { // Print children, start and end tag. print ">\n"; parent::printElement(); print "</line>\n"; } else { // Print short tag. print "/>\n"; } }
function printElement() { echo '<image'; $this->printParams('id', 'x', 'y', 'width', 'height', 'style'); if (!empty($this->_href)) { echo ' xlink:href="' . $this->_href . '"'; } if (is_array($this->_elements)) { // Print children, start and end tag. echo ">\n"; parent::printElement(); echo "</image>\n"; } else { // Print short tag. echo " />\n"; } }