summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7efd376)
raw | patch | inline | side by side (parent: 7efd376)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 1 May 2008 16:13:20 +0000 (16:13 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 1 May 2008 16:13:20 +0000 (16:13 +0000) |
src/live_effects/lpe-curvestitch.cpp | patch | blob | history | |
src/live_effects/lpe-sketch.cpp | patch | blob | history |
index a9bb6931f7e37e5fe6323b4929a4c2a33453881b..22f20b820cff26f48423aa96d0d7de9dce65fc63 100644 (file)
LPECurveStitch::LPECurveStitch(LivePathEffectObject *lpeobject) :
Effect(lpeobject),
- strokepath(_("Stroke path"), _("The path that will be used as stitch."), "strokepath", &wr, this, "M0,0 L1,0"),
+ strokepath(_("Stitch path"), _("The path that will be used as stitch."), "strokepath", &wr, this, "M0,0 L1,0"),
nrofpaths(_("Number of paths"), _("The number of paths that will be generated."), "count", &wr, this, 5),
startpoint_edge_variation(_("Start edge variance"), _("The amount of random jitter to move the start points of the stitches inside & outside the guide path"), "startpoint_edge_variation", &wr, this, 0),
startpoint_spacing_variation(_("Start spacing variance"), _("The amount of random shifting to move the start points of the stitches back & forth along the guide path"), "startpoint_spacing_variation", &wr, this, 0),
endpoint_edge_variation(_("End edge variance"), _("The amount of randomness that moves the end points of the stitches inside & outside the guide path"), "endpoint_edge_variation", &wr, this, 0),
endpoint_spacing_variation(_("End spacing variance"), _("The amount of random shifting to move the end points of the stitches back & forth along the guide path"), "endpoint_spacing_variation", &wr, this, 0),
- prop_scale(_("Scale width"), _("Scaling of the width of the stroke path"), "prop_scale", &wr, this, 1),
- scale_y_rel(_("Scale width relative"), _("Scale the width of the stroke path relative to its length"), "scale_y_rel", &wr, this, false)
+ prop_scale(_("Scale width"), _("Scale the width of the stitch path"), "prop_scale", &wr, this, 1),
+ scale_y_rel(_("Scale width relative to length"), _("Scale the width of the stitch path relative to its length"), "scale_y_rel", &wr, this, false)
{
registerParameter( dynamic_cast<Parameter *>(&nrofpaths) );
registerParameter( dynamic_cast<Parameter *>(&startpoint_edge_variation) );
index 5ad9ed6484c45460b342ebd84a849d79dcf5988f..4fc6fc35dc1141c8067be4aaf4891fa249200a04 100644 (file)
Effect(lpeobject),
// initialise your parameters here:
//testpointA(_("Test Point A"), _("Test A"), "ptA", &wr, this, Geom::Point(100,100)),
- nbiter_approxstrokes(_("Nb of iterations"), _("Draw that many approximating strokes sequences."), "nbiter_approxstrokes", &wr, this, 5),
+ nbiter_approxstrokes(_("Strokes"), _("Draw that many approximating strokes"), "nbiter_approxstrokes", &wr, this, 5),
strokelength(_("Max stroke length"),
- _("Maximal length of approximated strokes."), "strokelength", &wr, this, 100.),
+ _("Maximum length of approximating strokes"), "strokelength", &wr, this, 100.),
strokelength_rdm(_("Stroke length variation"),
- _("Random variation of stroke length (relative to max. length)."), "strokelength_rdm", &wr, this, .3),
+ _("Random variation of stroke length (relative to maximum length)"), "strokelength_rdm", &wr, this, .3),
strokeoverlap(_("Max. overlap"),
- _("How much successive strokes should overlap (relative to max. length)."), "strokeoverlap", &wr, this, .3),
+ _("How much successive strokes should overlap (relative to maximum length)."), "strokeoverlap", &wr, this, .3),
strokeoverlap_rdm(_("Overlap variation"),
- _("Random variation of overlap (relative to max. overlap)"), "strokeoverlap_rdm", &wr, this, .3),
- ends_tolerance(_("Max. ends tolerance"),
- _("Max. distance between original and approximated paths ends (relative to max. length)."), "ends_tolerance", &wr, this, .1),
+ _("Random variation of overlap (relative to maximum overlap)"), "strokeoverlap_rdm", &wr, this, .3),
+ ends_tolerance(_("Max. end tolerance"),
+ _("Maximum distance between ends of original and approximating paths (relative to maximum length)"), "ends_tolerance", &wr, this, .1),
parallel_offset(_("Parallel offset"),
- _("Average distance to original stroke (try 0)."), "parallel_offset", &wr, this, 5.),
+ _("Average distance from approximating path to original path"), "parallel_offset", &wr, this, 5.),
tremble_size(_("Max. tremble"),
- _("Maximal tremble magnitude."), "tremble_size", &wr, this, 5.),
+ _("Maximum tremble magnitude"), "tremble_size", &wr, this, 5.),
tremble_frequency(_("Tremble frequency"),
- _("Typical nb of tremble 'period' in a stroke."), "tremble_frequency", &wr, this, 1.),
- nbtangents(_("Nb of construction Lines"),
- _("How many construction lines (tangents) to draw?"), "nbtangents", &wr, this, 5),
+ _("Avreage number of tremble periods in an approximating stroke"), "tremble_frequency", &wr, this, 1.),
+ nbtangents(_("Construction lines"),
+ _("How many construction lines (tangents) to draw"), "nbtangents", &wr, this, 5),
tgtscale(_("Scale"),
- _("Scale factor relating curvature and length of construction lines(try 5*avarage offset) )"), "tgtscale", &wr, this, 10.0),
- tgtlength(_("Max. length"), _("Max. length of construction lines."), "tgtlength", &wr, this, 100.0),
- tgtlength_rdm(_("Length variation"), _("Random variation of construction lines length."), "tgtlength_rdm", &wr, this, .3)
+ _("Scale factor relating curvature and length of construction lines (try 5*offset)"), "tgtscale", &wr, this, 10.0),
+ tgtlength(_("Max. length"), _("Maximum length of construction lines"), "tgtlength", &wr, this, 100.0),
+ tgtlength_rdm(_("Length variation"), _("Random variation of the length of construction lines"), "tgtlength_rdm", &wr, this, .3)
{
// register all your parameters here, so Inkscape knows which parameters this effect has:
//Add some comment in the UI: *warning* the precise output of this effect might change in future releases!