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

Bug 334627

Summary: [GC] Support image constructor GC(Image)
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 334511, 334637    
Bug Blocks:    

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 ***