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

Reply via email to