image - Drawing a curved line between two points in PHP -


i want draw simple curved line between 2 points. more specifically, top left , bottom right corner of image of arbitrary size.

i tried using imagearc, apparently that's not i'm looking for. illustrate mean: curved line

i can't find function me along, appreciated :)

you use imagemagick instead of image gd. image gd has no build-in support curves.

if don't have possibility use imagemagick, still use imagesetpixel , create own curve simple de casteljau algorithm


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -