Don't know if all, but almost all GD functions start with image :)
imagecolorallocate.. imageline.. etc
and the arguments are pretty much the same
image resource, x, y, w, h
image resource from_x, from_y, to_x, to_y...
"The reasonable man adapts himself to the conditions that surround him... The unreasonable man adapts surrounding conditions to himself... All progress depends on the unreasonable man." - George Bernard Shaw