Searched refs:opacityNode (Results 1 – 2 of 2) sorted by relevance
172 auto opacityNode = sksg::OpacityEffect::Make(childNode); in attachOpacity() local175 [opacityNode](const ScalarValue& o) { in attachOpacity()177 opacityNode->setOpacity(o * 0.01f); in attachOpacity()179 const auto dispatched = this->dispatchOpacityProperty(opacityNode); in attachOpacity()182 return (bound || dispatched) ? std::move(opacityNode) : childNode; in attachOpacity()
178 auto opacityNode = sksg::OpacityEffect::Make(childNode); in attachOpacity() local181 [opacityNode](const ScalarValue& o) { in attachOpacity()183 opacityNode->setOpacity(o * 0.01f); in attachOpacity()185 const auto dispatched = this->dispatchOpacityProperty(opacityNode); in attachOpacity()188 return (bound || dispatched) ? std::move(opacityNode) : childNode; in attachOpacity()