/** \file
* LPE <path_length> implementation.
*/
/*
* Authors:
* Maximilian Albert <maximilian.albert@gmail.com>
* Johan Engelen
*
* Copyright (C) 2007-2008 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "live_effects/lpe-path_length.h"
#include "2geom/sbasis-geometric.h"
namespace Inkscape {
namespace LivePathEffect {
info_text(this),
{
}
{
}
void
// this is only used in sp-lpe-item.cpp to hide the canvas text when the effect is invisible
}
{
using namespace Geom;
/* convert the measured length to the correct unit ... */
/* ... set it as the canvas text ... */
// TODO: how can we compute the area (such that cw turns don't count negative)?
// should we display the area here, too, or write a new LPE for this?
Point c;
double area;
//g_print ("Area is zero\n");
}
//g_print ("Area: %f\n", area);
return pwd2_in;
}
} //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 :