lpe-lattice.cpp revision 7c55f4c01512add651840c0854a9a29a4795631b
#define INKSCAPE_LPE_LATTICE_CPP
/** \file
* LPE <lattice> implementation
*/
/*
* Authors:
* Johan Engelen <j.b.c.engelen@utwente.nl>
* Steren Giannini
* No� Falzon
* Victor Navez
*
* Copyright (C) 2007-2008 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "live_effects/lpe-lattice.h"
#include "sp-shape.h"
#include "sp-item.h"
#include "sp-path.h"
#include "libnr/n-art-bpath-2geom.h"
using namespace Geom;
namespace Inkscape {
namespace LivePathEffect {
// initialise your parameters here:
{
// register all your parameters here, so Inkscape knows which parameters this effect has:
}
LPELattice::~LPELattice()
{
}
{
//Initialisation of the sb2
}
//Grouping the point params in a convenient vector
handles[0] = &grid_point0;
//numbering is based on 4 rectangles.
//This is the offset from the Upperleft point
//Special action for corners
}
// i = Upperleft corner of the considerated rectangle
// corner = actual corner of the rectangle
// origin = Upperleft point
}
}
}
}
}
B -= origin;
B*= 1/width;
//Here comes the magic
}
return output;
}
void
{
}
void
{
// place the 16 control points
}
/* ######################## */
} //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 :