incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 118784] svg problems with viewport, viewBox and preserveAspectRatio
Date Mon, 16 Jan 2012 15:28:47 GMT

--- Comment #2 from Armin Le Grand <> 2012-01-16 15:28:47 UTC ---
ALG. In principle all these mappings are in place already in
SvgSvgNode::decomposeSvgNode when the SVg node is the outmost one. There
already was adding a clip primitive when the content was bigger than the SVG
initial coordinate system. The SdrObject (Graphic object) which will contain
the SVg content creates a mapping to map the Svg content to it's own coodinate
system (since the SDrObject is the defining object which also gets manipulated
later). What was missing is to add extra geometry data to force the B2DRange of
the Svg content to be exactly equal to the Svg initial coordinate system when
all content is inside of it.

ALG Added this, looks as expected. Taking some more tests...

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

View raw message