protected final double computeWidth( IDisplayServer xs, Label la )
public static final double computeWidth( IDisplayServer xs, Label la )
	protected final double computeWidth( IDisplayServer xs, Label la )	{		final FontDefinition fd = la.getCaption( ).getFont( );		final double dAngleInRadians = ( ( -fd.getRotation( ) * Math.PI ) / 180.0 );		final double dSineTheta = Math.abs( Math.sin( dAngleInRadians ) );		final double dCosTheta = Math.abs( Math.cos( dAngleInRadians ) );		final ITextMetrics itm = xs.getTextMetrics( la );		double dW = itm.getFullWidth( )				* dCosTheta				+ itm.getFullHeight( )				* dSineTheta;		itm.dispose( );		return dW;	}