This class seems to work well, but doesn't have any documentation. You need to look at the code of each class. WARNING: ALL SVGxxx.php in this directory are class definition files. When you click on these, there will be errors (since include files are missing). The only example is example.php. Your own examples must have something like this on top:
// *** Define the path to the SVG class dir. *** //define("SVG_CLASS_BASE", // $_SERVER["DOCUMENT_ROOT"]."chapter_code/Ch15/svg_classes/"); define("SVG_CLASS_BASE", "./"); // Include the class files. require_once(SVG_CLASS_BASE."Svg.php");
Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
HEADER.html | 2005-03-04 15:56 | 689 | ||
t/ | 2005-03-04 17:28 | - | ||
Example.php | 2018-05-15 19:30 | 2.5K | ||
Example.text | 2018-05-15 19:30 | 2.5K | ||
Svg.php | 2018-05-15 19:30 | 1.3K | ||
SvgAnimate.php | 2018-05-15 19:30 | 1.9K | ||
SvgCircle.php | 2018-05-15 19:30 | 1.3K | ||
SvgDefs.php | 2018-05-15 19:30 | 565 | ||
SvgDesc.php | 2018-05-15 19:30 | 571 | ||
SvgDocument.php | 2018-05-15 19:30 | 807 | ||
SvgElement.php | 2018-05-15 19:30 | 2.2K | ||
SvgEllipse.php | 2018-05-15 19:30 | 1.3K | ||
SvgFragment.php | 2018-05-15 19:30 | 1.2K | ||
SvgGroup.php | 2018-05-15 19:30 | 556 | ||
SvgLine.php | 2018-05-15 19:30 | 1.3K | ||
SvgMarker.php | 2018-05-15 19:30 | 2.1K | ||
SvgPath.php | 2018-05-15 19:30 | 1.0K | ||
SvgPolygon.php | 2018-05-15 19:30 | 1.1K | ||
SvgPolyline.php | 2018-05-15 19:30 | 1.1K | ||
SvgRect.php | 2018-05-15 19:30 | 1.4K | ||
SvgText.php | 2018-05-15 19:30 | 920 | ||
SvgTitle.php | 2018-05-15 19:30 | 581 | ||
SvgTspan.php | 2018-05-15 19:30 | 1.3K | ||