Searched refs:color_node (Results 1 – 4 of 4) sorted by relevance
50 sk_sp<sksg::Color> color_node = abuilder->attachColor(*color_prop, ascope, "v"); in AttachFillLayerEffect() local51 if (!color_node) { in AttachFillLayerEffect()56 [color_node](const ScalarValue& o) { in AttachFillLayerEffect()57 const auto c = color_node->getColor(); in AttachFillLayerEffect()59 color_node->setColor(SkColorSetA(c, a)); in AttachFillLayerEffect()63 std::move(color_node), in AttachFillLayerEffect()
202 auto color_node = sksg::Color::Make(SK_ColorBLACK); in attachColor() local205 [color_node](const VectorValue& c) { in attachColor()206 color_node->setColor(ValueTraits<VectorValue>::As<SkColor>(c)); in attachColor()208 this->dispatchColorProperty(color_node); in attachColor()210 return color_node; in attachColor()
133 sk_sp<sksg::Color> color_node = abuilder->attachColor(*color_prop, ascope, "v"); in AttachFillLayerEffect() local134 if (!color_node) { in AttachFillLayerEffect()139 [color_node](const ScalarValue& o) { in AttachFillLayerEffect()140 const auto c = color_node->getColor(); in AttachFillLayerEffect()142 color_node->setColor(SkColorSetA(c, a)); in AttachFillLayerEffect()146 std::move(color_node), in AttachFillLayerEffect()
254 auto color_node = sksg::Color::Make(SK_ColorBLACK); in attachColor() local257 [color_node](const VectorValue& c) { in attachColor()258 color_node->setColor(ValueTraits<VectorValue>::As<SkColor>(c)); in attachColor()260 this->dispatchColorProperty(color_node); in attachColor()262 return color_node; in attachColor()