Returns the extent of the given str. Tab expansion, line
delimiter and mnemonic processing are performed according to
the specified flags, which can be a combination of:
<dl>
<dt><b>DRAW_DELIMITER</b></dt>
<dd>draw multiple lines</dd>
<dt><b>DRAW_TAB</b></dt>
<dd>expand tabs</dd>
<dt><b>DRAW_MNEMONIC</b></dt>
<dd>underline the mnemonic character</dd>
<dt><b>DRAW_TRANSPARENT</b></dt>
<dd>transparent background</dd>
</dl>
<p>
The <em>extent</em> of a str is the width and height of
the rectangular area it would cover if drawn in a particular
font (in this case, the current font in the receiver).
</p>
@param str the str to measure
@param flags the flags specifying how to process the text
@return a point containing the extent of the str
@exception SWTException <ul>
<li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
</ul>
Returns the extent of the given str. Tab expansion, line delimiter and mnemonic processing are performed according to the specified flags, which can be a combination of: <dl> <dt><b>DRAW_DELIMITER</b></dt> <dd>draw multiple lines</dd> <dt><b>DRAW_TAB</b></dt> <dd>expand tabs</dd> <dt><b>DRAW_MNEMONIC</b></dt> <dd>underline the mnemonic character</dd> <dt><b>DRAW_TRANSPARENT</b></dt> <dd>transparent background</dd> </dl> <p> The <em>extent</em> of a str is the width and height of the rectangular area it would cover if drawn in a particular font (in this case, the current font in the receiver). </p>
@param str the str to measure @param flags the flags specifying how to process the text @return a point containing the extent of the str
@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>