Add the usage of 'Coordinate Transformation Matrix' and some formula for different scaling mode.