Kyle Hansen
: khansen at, mivamerchant d0t com
02/28/2013 18:29 p.m.
02/28/2013 18:29 p.m.
gdImageStringFT outputs text to the image. The parameters are described as follows: im - The image you are appending the text to brect - Array of the coordinates for the bounding rectangle surrounding the text fg - Font color fontlist - Font list ptsize - Font size angle - Angle in which the text is displayed. (Values accepted in radians) x - The horizontal position of where the text will be written y - The vertical position of where the text will be written string - The text to be appended to the image
<MvASSIGNNAME="l.image"VALUE="{ gdImageCreate( 100, 100 ) }>"<MvASSIGNNAME="l.black"VALUE="{ gdImageColorAllocate( l.image, 0, 0, 0 ) }>"<MvASSIGNNAME="l.null"VALUE="{ gdImageStringFT( l.image, l.brect, l.black, 'Nimbus Mono L:regular', 12, 0, 10, 10, 'I am text' ) }>"