/* -- F U N C T I O N S ----------------------------------------------------- */
Circle::Circle():
- Layer_Composite (1.0,Color::BLEND_STRAIGHT),
+ Layer_Composite (1.0,Color::BLEND_COMPOSITE),
color (Color::black()),
origin (0,0),
radius (1),
feather (0),
invert (false),
- falloff (FALLOFF_INTERPOLATION_LINEAR)
+ falloff (FALLOFF_INTERPOLATION_LINEAR),
+ color_static (false),
+ origin_static (false),
+ radius_static (false),
+ feather_static (false),
+ invert_static (true),
+ falloff_static (true)
{
constructcache();
}
return Layer_Composite::get_param(param);
}
+
+bool
+Circle::set_param_static(const String ¶m, const bool x)
+{
+
+ SET_STATIC(color, x)
+ SET_STATIC(radius, x)
+ SET_STATIC(origin, x)
+ SET_STATIC(feather, x)
+ SET_STATIC(falloff, x)
+
+ return Layer_Composite::set_param_static(param, x);
+}
+
+
+bool
+Circle::get_param_static(const String ¶m) const
+{
+
+ GET_STATIC(color)
+ GET_STATIC(radius)
+ GET_STATIC(origin)
+ GET_STATIC(feather)
+ GET_STATIC(falloff)
+
+ return Layer_Composite::get_param_static(param);
+}
+
+
Layer::Vocab
Circle::get_param_vocab()const
{