This is an old revision of the document!
mkdir -p ~/public_html
chmod 0711 ~/public_html
make
mv gtf0.png ~/public_html
chmod 0644 ~/public_html/gtf0.png
gdImageLine (image, x1, y1, x2, y2, color);
x1 and y1 are the starting coordinates and x2 and y2 are the ending coordinates
gdImageFilledRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color);
gdImagePtr im is the image the function edits
int x1 is the left bound
int y1 is the upper bound
int x2 is the right bound
int y2 is the lower bound
int color is the color the rectangle is drawn as