Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335728 - GC#setAdvanced() is missing
Summary: GC#setAdvanced() is missing
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.4 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 13:47 EST by Rüdiger Herrmann CLA
Modified: 2011-01-31 13:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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