ceiling(1.0f),
floor(0.0f)
{
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
inline Color
bailout=4;
lp=log(log(bailout));
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
bool
IMPORT(smooth_outside);
IMPORT(broken);
+// TODO: Use IMPORT_PLUS
if(param=="iterations" && value.same_type_as(iterations))
{
iterations=value.get(iterations);
iterations=0;
if(iterations>500000)
iterations=500000;
+ set_param_static(param, value.get_static());
return true;
}
if(param=="bailout" && value.same_type_as(bailout))
bailout=value.get(bailout);
bailout*=bailout;
lp=log(log(bailout));
+ set_param_static(param, value.get_static());
return true;
}
EXPORT(broken);
if(param=="bailout")
- return sqrt(bailout);
+ {
+ ValueBase ret(sqrt(bailout));
+ ret.set_static(get_param_static(param));
+ return ret;
+ }
EXPORT_NAME();
EXPORT_VERSION();
bailout=4;
lp=log(log(bailout));
+
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
bool
IMPORT(gradient_inside);
IMPORT(gradient_outside);
+// TODO: Use IMPORT_PLUS
if(param=="iterations" && value.same_type_as(iterations))
{
iterations=value.get(iterations);
iterations=0;
if(iterations>500000)
iterations=500000;
+ set_param_static(param, value.get_static());
return true;
}
if(param=="bailout" && value.same_type_as(bailout))
bailout=value.get(bailout);
bailout*=bailout;
lp=log(log(bailout));
+ set_param_static(param, value.get_static());
return true;
}
EXPORT(gradient_outside);
if(param=="bailout")
- return sqrt(bailout);
+ {
+ ValueBase ret(sqrt(bailout));
+ ret.set_static(get_param_static(param));
+ return ret;
+ }
EXPORT_NAME();
EXPORT_VERSION();
Layer_Composite (1.0,Color::BLEND_STRAIGHT)
{
set_blend_method(Color::BLEND_STRAIGHT);
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
color (Color::black()),
origin (Point(0.125,0.125)),
size (Point(0.25,0.25))
-{}
+{
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
+}
inline bool
CheckerBoard::point_test(const synfig::Point& getpos)const
bline=bline_point_list;
needs_sync=true;
+
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
expand(0),
invert(false)
{
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
bool
vector_list.push_back(Point(-0.333333,0));
vector_list.push_back(Point(0.333333,0));
sync();
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
Layer_Polygon::~Layer_Polygon()
Layer_Composite(1.0,Color::BLEND_COMPOSITE),
color(Color::black())
{
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
bool