RAP 3.1 M4 is here
This is a quick look at the new features in RAP 3.1 M4, which has been available for download since last week. Transformation Support for Canvas The Canvas' GraphicsContext now implements the setTransform method: [raw] Transform transform = new Transform( display ); gc.setTransform( transform ); gc.setBackground( display.getSystemColor( SWT.COLOR_BLACK ) ); gc.fillRectangle( 0, 0, 100, 50 ); transform.rotate( 10 ); gc.setTransform( transform ); gc.setBackground( display.getSystemColor( SWT.COLOR_RED ) ); gc.fillRectangle( 0, 0, 100, 50 ); transform.rotate( 10 ); gc.setTransform( transform...
Read More