Votorola

Package votorola.g.web.gwt.svg

Rendering Scalable Vector Graphics under GWT.

See: Description

Package votorola.g.web.gwt.svg Description

Rendering Scalable Vector Graphics under GWT.

SVG stroke buffering (SVG_STROKE_BUF)

When the graphic includes a stroked drawing, Firefox (16, 17) extends the box of the svg element with what appears to be a spill over buffer, enlarging it beyond what is otherwise required, e.g. in obedience to the requested height and width properties. The drawing itself is unchanged, but calculations based on the size or edge position of the svg element are likely be distorted. Originally seen with CSS selectand path.ArrowSegment, where the added buffer was 8-9 pixels wide. The workaround there was to base the edge calculations on the parent element, the box of which was unaffected by the buffer.

Transform attribute (TRANS_ATT)

The transform attribute must be set on elements in lieu of the dedicated transform API, which fails under WebKit. See the thread How set the transform to SVGGElement?

See Also:
http://www.vectomatic.org/lib-gwt-svg
Votorola