PHP-Framework-Classes
PHP-Framework-Classes copied to clipboard
how to use svg.class.php
i have a path for svg image, and i try to draw this image by this path i tried to use your class but it didn't work here are my code `<?php include 'svg.class.php';
$path = "M 49.005478,95.20593 48.324847,82.27393 25.183371,83.29488 19.398002,30.545926 41.51853,28.504031 40.157267,12.168871 89.162745,8.765713 187.85433,38.373189 193.98002,37.692558 673.82533,181.98647 1124.949,242.727 l -0.062,29.12435 -6.641,-0.0785 0.015,5.68947 29.1448,-0.21761 0.1114,15.73349 3.6287,-0.035 0,-22.53585 14.5393,0.72696 0,-12.35837 62.1553,0.36348 0,8.72356 1130.9473,-0.92305 0.1441,338.23869 c 0.013,29.63348 0.035,59.26697 0.099,88.90039 l -1131.9168,1.23829 0,11.63141 -33.2586,0 0,-9.63226 -43.9465,-0.12457 -0.514,-44.20749 -8.7895,-0.19443 -0.018,-30.91579 -15.3002,-0.0373 0.052,10.41722 c -35.4291,6.25178 -71.0987,11.14015 -106.9035,14.65065 -102.32369,10.0324 -205.75061,8.77165 -307.79935,-3.75202 l 0.17678,13.45874 -75.44725,0.17678 0,-11.99489 -364.20853,0.36348 -2.72611,4.54352 -6.17919,-0.18174 -3.9983,-3.63481 -35.62119,-0.36349 -1.81741,4.72526 -4.72526,0 0,-3.27133 -35.62119,1.09044 0,-41.98212 4.54352,0 0.0425,-454.80177 C 174.1595,135.48566 159.85455,122.05516 143.40445,112.17647 115.38514,95.350187 81.131269,89.192178 49.005878,95.20591 l -4e-4,2e-5 z";
$object = new SVGRenderer();
$object->open_svg(2360,720); $object->path($path); $object->draw(2360,720); $object->close_svg();
?>`