// 'visibility'
cgn.setVisible(CSSUtilities.convertVisibility(e));
// 'viewBox' and "preserveAspectRatio' attributes
SVGOMAnimatedRect vb = (SVGOMAnimatedRect) se.getViewBox();
SVGAnimatedPreserveAspectRatio par = se.getPreserveAspectRatio();
AffineTransform viewingTransform =
ViewBox.getPreserveAspectRatioTransform(e, vb, par, w, h, ctx);
float actualWidth = w;
float actualHeight = h;