引用第1楼yangfanxing于2010-03-29 10:27发表的 :
drawText()?
不是drawText(),imagestring的意思是在image中加字符串。
imagestring
imagestring -- 水平地画一行字符串。
int imagestring ( resource image, int font, int x, int y, string s, int col )
imagestring() 用 col 颜色将字符串 s 画到 image 所代表的图像的 x,y 座标处(图像的左上角为 0, 0)。如果 font 是 1,2,3,4 或 5,则使用内置字体。