add all methods define to gd.h