According to the svg standard the clips opacity
doesn't affect the final rendering. In order to
avoid any confusion the opacity values are
overwritten by the max possible value.
Change-Id: I96699a2f74e97fae0a940e18d834f258a8c4cd86
if (_appendChildShape(*child, comp.get(), vBox, svgPath)) valid = true;
}
- if (valid) paint->composite(move(comp), CompositeMethod::ClipPath);
-
+ if (valid) {
+ comp->fill(255, 255, 255, 255);
+ comp->opacity(255);
+ paint->composite(move(comp), CompositeMethod::ClipPath);
+ }
node->style->clipPath.applying = false;
}
}