• Home
  • Raw
  • Download

Lines Matching refs:VectorValue

74     auto anchor_attached = BindProperty<VectorValue>(t["a"], &ctx->fAnimators,  in AttachMatrix()
75 [composite](const VectorValue& a) { in AttachMatrix()
76 composite->setAnchorPoint(ValueTraits<VectorValue>::As<SkPoint>(a)); in AttachMatrix()
78 auto position_attached = BindProperty<VectorValue>(t["p"], &ctx->fAnimators, in AttachMatrix()
79 [composite](const VectorValue& p) { in AttachMatrix()
80 composite->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachMatrix()
82 auto scale_attached = BindProperty<VectorValue>(t["s"], &ctx->fAnimators, in AttachMatrix()
83 [composite](const VectorValue& s) { in AttachMatrix()
84 composite->setScale(ValueTraits<VectorValue>::As<SkVector>(s)); in AttachMatrix()
166 auto p_attached = BindProperty<VectorValue>(jrect["p"], &ctx->fAnimators, in AttachRRectGeometry()
167 [composite](const VectorValue& p) { in AttachRRectGeometry()
168 composite->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachRRectGeometry()
170 auto s_attached = BindProperty<VectorValue>(jrect["s"], &ctx->fAnimators, in AttachRRectGeometry()
171 [composite](const VectorValue& s) { in AttachRRectGeometry()
172 composite->setSize(ValueTraits<VectorValue>::As<SkSize>(s)); in AttachRRectGeometry()
192 auto p_attached = BindProperty<VectorValue>(jellipse["p"], &ctx->fAnimators, in AttachEllipseGeometry()
193 [composite](const VectorValue& p) { in AttachEllipseGeometry()
194 composite->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachEllipseGeometry()
196 auto s_attached = BindProperty<VectorValue>(jellipse["s"], &ctx->fAnimators, in AttachEllipseGeometry()
197 [composite](const VectorValue& s) { in AttachEllipseGeometry()
198 const auto sz = ValueTraits<VectorValue>::As<SkSize>(s); in AttachEllipseGeometry()
227 BindProperty<VectorValue>(jstar["p"], &ctx->fAnimators, in AttachPolystarGeometry()
228 [composite](const VectorValue& p) { in AttachPolystarGeometry()
229 composite->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachPolystarGeometry()
263 auto color_attached = BindProperty<VectorValue>(obj["c"], &ctx->fAnimators, in AttachColor()
264 [color_node](const VectorValue& c) { in AttachColor()
265 color_node->setColor(ValueTraits<VectorValue>::As<SkColor>(c)); in AttachColor()
297 BindProperty<VectorValue>(stops["k"], &ctx->fAnimators, in AttachGradient()
298 [composite](const VectorValue& stops) { in AttachGradient()
301 BindProperty<VectorValue>(obj["s"], &ctx->fAnimators, in AttachGradient()
302 [composite](const VectorValue& s) { in AttachGradient()
303 composite->setStartPoint(ValueTraits<VectorValue>::As<SkPoint>(s)); in AttachGradient()
305 BindProperty<VectorValue>(obj["e"], &ctx->fAnimators, in AttachGradient()
306 [composite](const VectorValue& e) { in AttachGradient()
307 composite->setEndPoint(ValueTraits<VectorValue>::As<SkPoint>(e)); in AttachGradient()