newMatrix.setValue(0, 0, a.floatValue());
newMatrix.setValue(0, 1, b.floatValue());
newMatrix.setValue(1, 0, c.floatValue());
newMatrix.setValue(1, 1, d.floatValue());
newMatrix.setValue(2, 0, e.floatValue());
newMatrix.setValue(2, 1, f.floatValue());
//this line has changed
context.getGraphicsState().setCurrentTransformationMatrix(
newMatrix.multiply( context.getGraphicsState().getCurrentTransformationMatrix() ) );