gdImageRectangle: support any relative points
Contrary to gdImageFilledRectangle(), gdImageRectangle() has the documented limitation that the given points have to be the upper left and the lower right corner, respectively. However, libgd already caters to upper right / lower left pairs, and not catering to the other two combinations seems to be an oversight. Fixes #177.master
parent
7d0d9d2a4f
commit
5a85d6c3e3
Loading…
Reference in New Issue