royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject GraphicShape
Date Sun, 03 Dec 2017 08:18:55 GMT
I’m trying to fix some SVG issues and I’m confused by the resize method of GraphicShape.

Why are we calling getBBox at all? If the width/height is not set by the client, then I don’t
see any reason to set it explicitly. Why are we doing so?

FWIW, the current code does not seem to be EVER setting the width and height correctly, because
it’s setting the properties as numbers rather than strings.

Can anyone shed some light on the subject?

Harbs
Mime
View raw message