It works in degrees. But the 3rd parameter(as you can read in the definition and documentation) is the zoom factor, and 4th is whether is should do filtering on the output image or not