X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fmodules%2Fmod_geometry%2Fcircle.cpp;h=6346eb5ebbaf7de5b88c0ef17722a55a8d72f9b7;hb=42e8f249832b9ca81691bbf76a6668aa4612117f;hp=f5ad99b82c52363a28325fd5ad70c27b9e86c75c;hpb=a095981e18cc37a8ecc7cd237cc22b9c10329264;p=synfig.git diff --git a/synfig-core/src/modules/mod_geometry/circle.cpp b/synfig-core/src/modules/mod_geometry/circle.cpp index f5ad99b..6346eb5 100644 --- a/synfig-core/src/modules/mod_geometry/circle.cpp +++ b/synfig-core/src/modules/mod_geometry/circle.cpp @@ -60,7 +60,7 @@ SYNFIG_LAYER_SET_CVS_ID(Circle,"$Id$"); /* -- 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), @@ -69,6 +69,8 @@ Circle::Circle(): falloff (FALLOFF_INTERPOLATION_LINEAR) { constructcache(); + Layer::Vocab voc(get_param_vocab()); + Layer::fill_static(voc); } bool @@ -123,18 +125,22 @@ Circle::get_param_vocab()const ret.push_back(ParamDesc("color") .set_local_name(_("Color")) + .set_description(_("Fill color of the layer")) ); ret.push_back(ParamDesc("radius") .set_local_name(_("Radius")) .set_origin("origin") + .set_description(_("Radius of the circle")) .set_is_distance() ); ret.push_back(ParamDesc("feather") .set_local_name(_("Feather")) .set_is_distance() + .set_description(_("Amount of feather of the circle")) ); ret.push_back(ParamDesc("origin") .set_local_name(_("Origin")) + .set_description(_("Center of the circle")) ); ret.push_back(ParamDesc("invert") .set_local_name(_("Invert"))