TRANSFORM_ROT90 and TRANSFORM_ROT270 implemented
lg fixes formatting