static analizyer bothers us due to this.
we'd rather initialize members for free of them.
Change-Id: I6dd76427b0fe2f9ff09034fe3ab11080a8d72a2e
viewBox.w = node->node.doc.vw;
viewBox.h = node->node.doc.vh;
preserveAspect = node->node.doc.preserveAspect;
- staticViewBox = true;
return _sceneBuildHelper(node, viewBox.x, viewBox.y, viewBox.w, viewBox.h, 255);
}
struct {
int x, y;
uint32_t w, h;
- } viewBox;
- int ref;
- uint32_t w, h; //Default size
- bool staticViewBox;
- bool preserveAspect; //Used in SVG
- bool shareable;
+ } viewBox = {0, 0, 0, 0};
+ bool preserveAspect = false;
public:
SvgSceneBuilder();