<?php
include_once("../d3.classes.inc.php"); // download the required d3 package
include_once("../raphael.class.inc.php");
$r = raphael("holder")->createVar("r");
stack()->add($r)->line();
$f = f3("x","y","r","a1","a2")
->createVar($r->get()->customAttributes(raphael::property)->segment(raphael::property));
stack()->add($f);
echo stack()->getInstance();
|