/*
* Copyright (C) Theodore Janeczko 2012 <flutterguy317@gmail.com>
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "live_effects/lpe-fill-between-strokes.h"
#include "sp-item.h"
#include "sp-shape.h"
#include "sp-text.h"
#include "2geom/bezier-curve.h"
namespace Inkscape {
namespace LivePathEffect {
linked_path(_("Linked path:"), _("Path from which to take the original path data"), "linkedpath", &wr, this),
second_path(_("Second path:"), _("Second path from which to take the original path data"), "secondpath", &wr, this),
reverse_second(_("Reverse Second"), _("Reverses the second path order"), "reversesecond", &wr, this)
{
//perceived_path = true;
}
{
}
{
if (curve) {
if ( linked_path.linksToPath() && second_path.linksToPath() && linked_path.getObject() && second_path.getObject() ) {
Geom::Affine second_transform = second_path.getObject()->getRelativeTransform(linked_path.getObject());
{
}
{
}
if ( !result_linked_pathv.empty() && !result_second_pathv.empty() && !result_linked_pathv.front().closed() ) {
if (reverse_second.get_value())
{
}
else
{
result_linked_pathv.front().appendNew<Geom::LineSegment>(result_second_pathv.front().initialPoint());
}
}
else if ( !result_linked_pathv.empty() ) {
}
else if ( !result_second_pathv.empty() ) {
}
}
{
}
if ( !result_pathv.empty() ) {
}
}
{
}
if ( !result_pathv.empty() ) {
}
}
}
}
} // 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 :