RECENT POSTS

P5-gd-arrow

May 26, 2018

Draw arrows using GD

This is a subclass of GDPolygon used to draw an arrow between two vertices.

GDArrowFull draws a full arrow between two verticies.

                              |\
       +----------------------+ \   X2, Y2 *                         * X1, Y1
       +----------------------+ /
                              |/

GDArrowRightHalf draws a half arrow between two verticies.

X2, Y2 ————————- X1, Y1 +———————-+ / |/

GDArrowLeftHalf draws a half arrow between two verticies.

                              |\
       +----------------------+ \   X2, Y2 *-------------------------* X1, Y1

WWW http//search.cpan.org/dist/GD-Arrow/