tweak-context.h revision 50275345b5d581eeb6d93f94fd36afa4fb04ea9c
#ifndef __SP_TWEAK_CONTEXT_H__
#define __SP_TWEAK_CONTEXT_H__
/*
* tweaking paths without node editing
*
* Authors:
* bulia byak
*
* Copyright (C) 2007 authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "event-context.h"
#include <display/display-forward.h>
#include <libnr/nr-point.h>
#define SP_TYPE_TWEAK_CONTEXT (sp_tweak_context_get_type())
#define SP_TWEAK_CONTEXT_CLASS(k) (GTK_CHECK_CLASS_CAST((k), SP_TYPE_TWEAK_CONTEXT, SPTweakContextClass))
#define TC_MIN_PRESSURE 0.0
#define TC_MAX_PRESSURE 1.0
#define TC_DEFAULT_PRESSURE 0.4
enum {
};
struct SPTweakContext
{
/* extended input data */
/* attributes */
double width;
double force;
double fidelity;
bool is_drawing;
bool is_dilating;
bool has_dilated;
};
struct SPTweakContextClass
{
};
GtkType sp_tweak_context_get_type(void);
#endif
/*
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:encoding=utf-8:textwidth=99 :