Project: SWT
Bug 221958 Transform.setIdentity() method is needed
Reported: 2008-03-08 09:01:59 | Status: resolved fixed

I suggest to add Transform.setIdentity() method. Since all Transform modifiers (multiply, rotate, scale, translate) modify existing transform matrix I think setIdentity() is a necessity. I suppose a typical UI developer might not be familiar with transform matrices and would be completely lost as to what arguments to pass to Transform.setElements(float,...) method.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Transform.java