_xscale Class

hello,
does somebody know where in my program files, I can find the class that calculates the _xscale value?
I try to generate it for a class file.
It would even be better if I could import the existing script, because there is always a small difference after the comma.