Add Function to Remove All Transforms
Bug #1384780 reported by
Equis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Wishlist
|
Unassigned |
Bug Description
I would like a function to remove all transforms on an object. A couple use cases:
- Text that has been stretched and needs to be restored to its original proportion
- Objects that are skewed or rotated and need to be restored to their original rotation
- Objects that are scaled or stretched and need to be restored to their original size and proportion.
This said, does the scaling and skewing of an object overwrite the original object's size/proportions or does it retain the original information in the file and apply the transform when writing to the screen?
tags: | added: transformations |
Changed in inkscape: | |
importance: | Undecided → Wishlist |
summary: |
- Wishlist: Remove All Transforms + Add Function to Remove All Transforms |
To post a comment you must log in.
just for clarification, when you say "restored to its original proportion", are you referring to something like an Undo operation, where the shape actually reverts back to what it was, or are you referring to an operation that would remove all transform elements from an object and apply them directly to the object's coordinates without actually changing the current visual appearance of the object?
as for the question:
"does the scaling and skewing of an object overwrite the original object's size/proportions or does it retain the original information in the file and apply the transform when writing to the screen"
the answer is the second part, meaning the original object information is kept intact, and the transform is applied on top of the original like a second operation on top of the first, exactly the same as you did when you drew the object.
<rect
width=" 217.14285"
height= "94.285713"
x="109. 81639"
y="225. 67557"
transform= "matrix( 0.96427403, -0.26490675, 0.26490675, 0.96427403, 0,0)" />
an example, rotated rectangle. The rectangle will be drawn first without the transform element, and then later the transform will be applied.