Adds to the receiver the pattern of glyphs generated by drawing
the given string using the given font starting at the point (x, y).
@param string the text to use
@param x the x coordinate of the starting point
@param y the y coordinate of the starting point
@param font the font to use
@exception IllegalArgumentException <ul>
<li>ERROR_NULL_ARGUMENT - if the font is null</li>
<li>ERROR_INVALID_ARGUMENT - if the font has been disposed</li>
</ul>
@exception SWTException <ul>
<li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
</ul>
Adds to the receiver the pattern of glyphs generated by drawing the given string using the given font starting at the point (x, y).
@param string the text to use @param x the x coordinate of the starting point @param y the y coordinate of the starting point @param font the font to use
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the font is null</li> <li>ERROR_INVALID_ARGUMENT - if the font has been disposed</li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>