Write once run nowhere
Tuesday, September 20th, 2005With all the new activity with jUploadr I decided to go ahead and implement image rotation. When I looked at the SWT javadocs, I was pleased to see that they added a Transform object for 3.1. Now rotating objects will be as simple as Transform tx = new Transform(event.display); tx.rotate(90); gc.setTransform(tx); // draw the image [...]