Lines Matching refs:composite
73 auto composite = sk_make_sp<CompositeTransform>(matrix); in AttachMatrix() local
75 [composite](const VectorValue& a) { in AttachMatrix()
76 composite->setAnchorPoint(ValueTraits<VectorValue>::As<SkPoint>(a)); in AttachMatrix()
79 [composite](const VectorValue& p) { in AttachMatrix()
80 composite->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachMatrix()
83 [composite](const VectorValue& s) { in AttachMatrix()
84 composite->setScale(ValueTraits<VectorValue>::As<SkVector>(s)); in AttachMatrix()
94 [composite](const ScalarValue& r) { in AttachMatrix()
95 composite->setRotation(r); in AttachMatrix()
98 [composite](const ScalarValue& sk) { in AttachMatrix()
99 composite->setSkew(sk); in AttachMatrix()
102 [composite](const ScalarValue& sa) { in AttachMatrix()
103 composite->setSkewAxis(sa); in AttachMatrix()
164 auto composite = sk_make_sp<CompositeRRect>(rect_node); in AttachRRectGeometry() local
167 [composite](const VectorValue& p) { in AttachRRectGeometry()
168 composite->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachRRectGeometry()
171 [composite](const VectorValue& s) { in AttachRRectGeometry()
172 composite->setSize(ValueTraits<VectorValue>::As<SkSize>(s)); in AttachRRectGeometry()
175 [composite](const ScalarValue& r) { in AttachRRectGeometry()
176 composite->setRadius(SkSize::Make(r, r)); in AttachRRectGeometry()
190 auto composite = sk_make_sp<CompositeRRect>(rect_node); in AttachEllipseGeometry() local
193 [composite](const VectorValue& p) { in AttachEllipseGeometry()
194 composite->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachEllipseGeometry()
197 [composite](const VectorValue& s) { in AttachEllipseGeometry()
199 composite->setSize(sz); in AttachEllipseGeometry()
200 composite->setRadius(SkSize::Make(sz.width() / 2, sz.height() / 2)); in AttachEllipseGeometry()
225 auto composite = sk_make_sp<CompositePolyStar>(path_node, gTypes[type]); in AttachPolystarGeometry() local
228 [composite](const VectorValue& p) { in AttachPolystarGeometry()
229 composite->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachPolystarGeometry()
232 [composite](const ScalarValue& pt) { in AttachPolystarGeometry()
233 composite->setPointCount(pt); in AttachPolystarGeometry()
236 [composite](const ScalarValue& ir) { in AttachPolystarGeometry()
237 composite->setInnerRadius(ir); in AttachPolystarGeometry()
240 [composite](const ScalarValue& otr) { in AttachPolystarGeometry()
241 composite->setOuterRadius(otr); in AttachPolystarGeometry()
244 [composite](const ScalarValue& is) { in AttachPolystarGeometry()
245 composite->setInnerRoundness(is); in AttachPolystarGeometry()
248 [composite](const ScalarValue& os) { in AttachPolystarGeometry()
249 composite->setOuterRoundness(os); in AttachPolystarGeometry()
252 [composite](const ScalarValue& r) { in AttachPolystarGeometry()
253 composite->setRotation(r); in AttachPolystarGeometry()
283 sk_sp<CompositeGradient> composite; in AttachGradient() local
287 composite = sk_make_sp<CompositeLinearGradient>(linear_node, stopCount); in AttachGradient()
291 composite = sk_make_sp<CompositeRadialGradient>(radial_node, stopCount); in AttachGradient()
298 [composite](const VectorValue& stops) { in AttachGradient()
299 composite->setColorStops(stops); in AttachGradient()
302 [composite](const VectorValue& s) { in AttachGradient()
303 composite->setStartPoint(ValueTraits<VectorValue>::As<SkPoint>(s)); in AttachGradient()
306 [composite](const VectorValue& e) { in AttachGradient()
307 composite->setEndPoint(ValueTraits<VectorValue>::As<SkPoint>(e)); in AttachGradient()