Search the Community
Showing results for tags 'affine transformation'.
Hey there, I am currently running into the problem of recording an affine transformation with changeable values in the negative range into a macro. It is possible to set negative values during recording and at any given time. However, if you change the recorded value, for example from the originally recorded -1% to -5%, it does not take. The originally recorded negative value is displayed as such, but as soon as you insert another negative value, it simply converts to 0 and the transformation therefore resets. Below is a test macro with a negative transformation. Please try to set the value to -20 (or any other negative value) while playing it. Try the same outside the macro using Filters → Distort → Affine. Is there a way to make this work? Am I using the filter incorrectly? Is there a better way to wrap this into a macro? Thanks! Negative Affine.afmacros
The "affine transformation" filter does not distort a small object on a layer as expected. The entire layer and not the object is transformed. It is expected that only within the object is transformed and a rotation around the center takes place
Thanks to the Affinity team for having very clean and configurable SVG export! One thing I noticed when not flattening transforms is that some very near zero values are exported inside affine transformation matrices which are no doubt just rounding errors in computations of positions. I've attached an SVG file that shows these, an example of which is: <g transform="matrix(1,-1.22465e-16,-1.22465e-16,-1,288,228)"> I was wondering if an option could be added to clamp these values to zero? Any value below the clamp value forces the value to zero, for example a clamp value of 2e-16 on the above would produce this output: <g transform="matrix(1,0,0,-1,288,228)"> If the rounding error is not from computing the SVG export then another option that could work would be to add a cleanup option that would clamp values in the internal representation Affinity is using. scream-schematic.svg