Hi Christina,
Regina Henschel schrieb:
Hi Christina,
I have seen you patch at Gerrit now.
I think, that SvgAspectRatio::createLinearMapping is the wrong place to
constrain the scaling because this method is used in svgimagenode.cxx
and svgstyleattributes.cxx too. I think, that the decision whether to
keep aspect ratio or not, should be made in the node itself. Have you
tried to set the default settings explicitly in the constructor of
SvgSvgNode?
"constructor" is a bad idea, because it would effect inner svg-nodes too.
Kind regards
Regina
Context
- Re: SVG: scaling if no width/height is given (continued)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.