i’m searching for an equivalent of the javascript function quadraticCurveTo in php.
ctx.moveTo(this.fromX,this.fromY);
ctx.quadraticCurveTo(this.controlX, this.controlY, this.toX, this.toY);
My script gets the variables (fromx,fromy,controlx…) from POST and i want to draw the curve with GD or anything else.
Edit: Resolved! See my comment
i found how to do it. I used Imagemagick here is the code.