-bool
-synfig::ValueNode_GradientRotate::set_gradient(ValueNode::Handle a)
-{
- if(a->get_type()!=ValueBase::TYPE_GRADIENT&& !PlaceholderValueNode::Handle::cast_dynamic(a))
- return false;
-
- ref_gradient=a;
-
- return true;
-}
-
-bool
-synfig::ValueNode_GradientRotate::set_offset(ValueNode::Handle b)
-{
- if(b->get_type()!=ValueBase::TYPE_REAL&& !PlaceholderValueNode::Handle::cast_dynamic(b))
- return false;
- ref_offset=b;
- return true;
-}
-