Sets the ascent of the receiver. The ascent is distance in pixels
from the baseline to the top of the line and it is applied to all
lines. The default value is <code>-1</code> which means that the
ascent is calculated from the line fonts.
@param ascent the new ascent
@exception IllegalArgumentException <ul>
<li>ERROR_INVALID_ARGUMENT - if the ascent is less than <code>-1</code></li>
</ul>
@exception SWTException <ul>
<li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
</ul>
Sets the ascent of the receiver. The ascent is distance in pixels from the baseline to the top of the line and it is applied to all lines. The default value is <code>-1</code> which means that the ascent is calculated from the line fonts.
@param ascent the new ascent
@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the ascent is less than <code>-1</code></li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>
@see #setDescent(int) @see #getLineMetrics(int)