
On 8-9-2014 19:27, mathog wrote:
On 06-Sep-2014 16:49, alvinpenner wrote:
However, that's not the point. The point is that it is clear that the original intent of the unit change code was that the unit change conversions would be done directly on the actual coordinates of the objects and not be preserved in a group transform.
Yes, but is that a rational thing to do?
Yes it is.
We already know it breaks clipping, it probably breaks masking, and who knows what else it breaks. Moreover it is exceedingly complex.
-.-
Also, in terms of numerical stability. Mucking around with the units is going to introduce rounding errors into every single value in the document, and these are going to run off in random directions. Do it the other way, at the top level, and repeatedly rescaling the document might introduce rounding errors in the top transform, but it won't do anything to the values underneath, all of which will stay "sharp", as it were.
Your change does exactly the opposite of this. The user does not change units at the end of creating a document. (and even if he does, than he also wants exactly what we are doing right now) If document-units says "mm", then that is what that is: stuff is expressed in mm. Not in some other unit with a top-level transform mucking around with the values.
-Johan