/**
* From the code of Liam P.White from his Power Stroke Knot dialog
*
* Released under GNU GPL. Read the file 'COPYING' for more information
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <gtkmm.h>
#include "lpe-fillet-chamfer-properties.h"
#include <boost/lexical_cast.hpp>
#include "inkscape.h"
#include "desktop.h"
#include "document.h"
#include "document-undo.h"
#include "layer-manager.h"
#include "message-stack.h"
#include "sp-object.h"
#include "sp-item.h"
#include "verbs.h"
#include "selection.h"
#include "selection-chemistry.h"
#include "ui/icon-names.h"
#include "ui/widget/imagetoggler.h"
#include "live_effects/parameter/parameter.h"
#include <cmath>
//#include "event-context.h"
namespace Inkscape {
namespace UI {
namespace Dialogs {
{
mainVBox->set_homogeneous(false);
// Layer name widgets
//todo: get tha max aloable infinity freeze the widget
//todo: get tha max aloable infinity freeze the widget
// Buttons
_close_button.set_use_stock(true);
_apply_button.set_use_underline(true);
true));
}
{
}
const Inkscape::LivePathEffect::
bool use_distance,
bool aprox_radius)
{
dialog->property_destroy_with_parent() = true;
}
{
double d_width;
if (d_pos) {
if (_fillet_chamfer_type_fillet.get_active() == true) {
d_width = 1;
} else if (_fillet_chamfer_type_inverse_fillet.get_active() == true) {
d_width = 2;
} else if (_fillet_chamfer_type_inverse_chamfer.get_active() == true) {
} else {
}
if (_flexible) {
d_pos = 0;
}
} else {
}
}
_close();
}
{
destroy_();
false
)
);
}
{
return false;
}
{
_apply();
}
}
{
double position;
if(aprox){
}
if(use_distance){
}
if (knotpoint.x() > 0) {
double intpart;
_flexible = true;
} else {
_flexible = false;
}
if (knotpoint.y() == 1) {
} else if (knotpoint.y() == 2) {
}
}
const Inkscape::LivePathEffect::
{
_knotpoint = const_cast<
pt);
}
{
}
{
}
{
if (desktop) {
}
if (_desktop) {
}
}
} // namespace
} // namespace
} // namespace
/*
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:fileencoding=utf-8:textwidth=99
// :