GC.setAdvanced

Sets the receiver to always use the operating system's advanced graphics subsystem for all graphics operations if the argument is <code>true</code>. If the argument is <code>false</code>, the advanced graphics subsystem is no longer used, advanced graphics state is cleared and the normal graphics subsystem is used from now on. <p> Normally, the advanced graphics subsystem is invoked automatically when any one of the alpha, antialias, patterns, interpolation, paths, clipping or transformation operations in the receiver is requested. When the receiver is switched into advanced mode, the advanced graphics subsystem performs both advanced and normal graphics operations. Because the two subsystems are different, their output may differ. Switching to advanced graphics before any graphics operations are performed ensures that the output is consistent. </p><p> Advanced graphics may not be installed for the operating system. In this case, this operation does nothing. Some operating system have only one graphics subsystem, so switching from normal to advanced graphics does nothing. However, switching from advanced to normal graphics will always clear the advanced graphics state, even for operating systems that have only one graphics subsystem. </p>

@param advanced the new advanced graphics state

@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

@see #setAlpha @see #setAntialias @see #setBackgroundPattern @see #setClipping(Path) @see #setForegroundPattern @see #setLineAttributes @see #setInterpolation @see #setTextAntialias @see #setTransform @see #getAdvanced

@since 3.1

class GC
void
setAdvanced
()

Meta