/*
* Copyright (C) Theodore Janeczko 2012 <flutterguy317@gmail.com>
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "ui/widget/registered-widget.h"
#include "live_effects/parameter/transformedpoint.h"
#include "sp-lpe-item.h"
#include "knotholder.h"
#include "svg/stringstream.h"
#include "live_effects/effect.h"
#include "desktop.h"
#include "verbs.h"
namespace Inkscape {
namespace LivePathEffect {
bool dontTransform)
origin(0.,0.),
{
vec_knot_color = 0xffffb500;
}
{
}
void
{
}
bool
{
if (!strarray) {
return false;
}
unsigned int i = 0;
while (i < 4 && strarray[i]) {
i++;
} else {
break;
}
}
if (i == 4) {
return true;
}
return false;
}
gchar *
{
return str;
}
{
*param_wr,
param_effect->getRepr(),
param_effect->getSPDoc() ) );
}
void
TransformedPointParam::set_and_write_new_values(Geom::Point const &new_origin, Geom::Point const &new_vector)
{
}
void
{
if (!noTransform) {
}
}
void
TransformedPointParam::set_vector_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color)
{
}
void
{
}
public:
virtual ~TransformedPointParamKnotHolderEntity_Vector() {}
/// @todo implement angle snapping when holding CTRL
};
};
};
private:
};
void
TransformedPointParam::addKnotHolderEntities(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item)
{
TransformedPointParamKnotHolderEntity_Vector *vector_e = new TransformedPointParamKnotHolderEntity_Vector(this);
vector_e->create(desktop, item, knotholder, Inkscape::CTRL_TYPE_UNKNOWN, handleTip(), vec_knot_shape, vec_knot_mode, vec_knot_color);
}
} /* 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 :