/*
* Copyright (C) Johan Engelen 2008 <j.b.c.engelen@utwente.nl>
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "ui/widget/registered-widget.h"
#include "live_effects/parameter/vector.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 {
origin(0.,0.),
{
vec_knot_color = 0xffffb500;
ori_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
{
}
void
{
}
void
{
}
void
{
}
void
{
}
public:
virtual ~VectorParamKnotHolderEntity_Origin() {}
};
};
};
private:
};
public:
virtual ~VectorParamKnotHolderEntity_Vector() {}
/// @todo implement angle snapping when holding CTRL
};
};
};
private:
};
void
{
origin_e->create(desktop, item, knotholder, Inkscape::CTRL_TYPE_UNKNOWN, handleTip(), ori_knot_shape, ori_knot_mode, ori_knot_color);
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 :