Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334627 - [GC] Support image constructor GC(Image)
Summary: [GC] Support image constructor GC(Image)
Status: RESOLVED DUPLICATE of bug 318900
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 334511 334637
Blocks:
  Show dependency tree
 
Reported: 2011-01-18 07:18 EST by Rüdiger Herrmann CLA
Modified: 2011-01-22 11:10 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-18 07:18:28 EST
In SWT, Image implements the Drawable interface and it can be drawn upon by usiing a GC like so: 
  Image image = new Image( device, width, height );
  GC gc = new GC( image );
  gc.drawRectangle( 0, 0, 10, 20 );
  ...

Currently this is not supported in RWT.
Comment 1 Ralf Sternberg CLA 2011-01-22 11:10:36 EST
This has already been reported in bug 318900. Moved the dependency to this bug.

*** This bug has been marked as a duplicate of bug 318900 ***