/**
* @file
* Inspired by Hofstadter's 'Goedel Escher Bach', chapter V.
*/
/* Authors:
* Johan Engelen <j.b.c.engelen@utwente.nl>
*
* Copyright (C) 2007-2009 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "live_effects/lpe-recursiveskeleton.h"
namespace Inkscape {
namespace LivePathEffect {
{
show_orig_path = true;
concatenate_before_pwd2 = true;
iterations.param_make_integer(true);
}
{
}
{
using namespace Geom;
Piecewise<SBasis> x0 = false /*vertical_pattern.get_value()*/ ? Piecewise<SBasis>(patternd2[1]) : Piecewise<SBasis>(patternd2[0]);
Piecewise<SBasis> y0 = false /*vertical_pattern.get_value()*/ ? Piecewise<SBasis>(patternd2[0]) : Piecewise<SBasis>(patternd2[1]);
return pwd2_in;
}
if (false /*prop_units.get_value()*/){
}
for (int i = 0; i < iterations; ++i) {
// TODO investigate why pattWidth is not being used:
// - Doesn't appear to have been used anywhere in bzr history (Alex V: 2013-03-16)
// double pattWidth = pattBndsX->extent() * scaling;
if (scaling != 1.0) {
x*=scaling;
}
if ( true /*scale_y_rel.get_value()*/ ) {
y*=(scaling*prop_scale);
} else {
}
x += toffset;
}
}
return output;
}
} //namespace LivePathEffect
} /* namespace Inkscape */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :