Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335728

Summary: GC#setAdvanced() is missing
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 1.4 M5   
Hardware: All   
OS: All   
Whiteboard:

Description Rüdiger Herrmann CLA 2011-01-28 13:47:03 EST
The methods getAdvanced() nd setAdvanced(boolean) are missing from the GC implementation in RWT.
According to the JavaDoc of setAdvanced:
  ... advanced graphics may not be installed for the (operating) system.  In this case, this operation does nothing.
and the JavaDoc of getAdvanced says:
  Advanced graphics may not be installed for the operating system.  In this case, false is always returned.  Some operating system have only one graphics subsystem.  If this subsystem supports advanced graphics, then true is always returned.  If any graphics operation such as alpha, antialias, patterns, interpolation, paths, clipping or transformation has caused the receiver to switch from regular to advanced graphics mode, true is returned.  If the receiver has been explicitly switched to advanced mode and this mode is supported, true is returned.
  
There should be a way to provide a fake implementation.
Comment 1 Rüdiger Herrmann CLA 2011-01-31 13:39:45 EST
Fixed in CVS HEAD