Searched refs:color_node (Results 1 – 3 of 3) 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()
75 auto* color_node = static_cast<sksg::Color*>(this->node().get()); in onSync() local76 color_node->setColor(fColor); in onSync()154 auto color_node = sksg::Color::Make(SK_ColorBLACK); in AttachColorFill() local155 abuilder->dispatchColorProperty(color_node); in AttachColorFill()157 return AttachFill(jpaint, abuilder, std::move(color_node)); in AttachColorFill()162 auto color_node = sksg::Color::Make(SK_ColorBLACK); in AttachColorStroke() local163 abuilder->dispatchColorProperty(color_node); in AttachColorStroke()165 return AttachStroke(jpaint, abuilder, std::move(color_node)); in AttachColorStroke()