https://bugs.documentfoundation.org/show_bug.cgi?id=108450

--- Comment #12 from Katarina Behrens (CIB) <[email protected]> ---
Unfortunately I don't see the new extended UI for tweaking growth and shrink
dimensions to be production-ready any time soon, so I've fixed at least the
part where shrinking the object (tiny & small) actually works. 

However, this makes me wonder:

> An unscaled shape has a scale value of 1.
> 
> With the UI in LO 3.5.4.2 a setting of "vertical tiny" is written as
> smil:by="0,0.25". The result is, that the new scale becomes 1.0+0.0=1.0 in
> x-direction and 1.0+0.25=1.25 in y-direction. The value of the
> scale-attribute is a factor, so the resulting shape is 125% of the original
> shape in vertical direction.

> The correct value for getting a shape which is shrunken to 25% of the
> original size in vertical direction would be smil:by="0,-0.75".

How would a case when the shape would grow to 150% of its original size be
written? 

Currently it is saved as smil:by="1.5, 1.5" 
but using the above formula, this results in 1 + 1.5 = 2.5 i.e 250% growth,
which feels wrong ... would smil:by="0.5, 0.5" be the correct value?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to