GC.setInterpolation

Sets the receiver's interpolation setting to the parameter, which must be one of <code>SWT.DEFAULT</code>, <code>SWT.NONE</code>, <code>SWT.LOW</code> or <code>SWT.HIGH</code>. <p> This operation requires the operating system's advanced graphics subsystem which may not be available on some platforms. </p>

@param interpolation the new interpolation setting

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the rule is not one of <code>SWT.DEFAULT</code>, <code>SWT.NONE</code>, <code>SWT.LOW</code> or <code>SWT.HIGH</code> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> <li>ERROR_NO_GRAPHICS_LIBRARY - if advanced graphics are not available</li> </ul>

@see #getAdvanced @see #setAdvanced

@since 3.1

class GC
void
setInterpolation

Meta