spray-context.h revision 0b51e8dca51e424e491522197eb7ca55e45a38b4
#ifndef __SP_SPRAY_CONTEXT_H__
#define __SP_SPRAY_CONTEXT_H__
/*
* Spray Tool
*
* Authors:
* Pierre-Antoine MARC
* Pierre CACLIN
* Aurel-Aimé MARMION
* Julien LERAY
* Benoît LAVORATA
* Vincent MONTAGNE
* Pierre BARBRY-BLOT
*
* Copyright (C) 2009 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>
//#include "ui/widget/spray-option.h"
#define SP_TYPE_SPRAY_CONTEXT (sp_spray_context_get_type())
#define SP_SPRAY_CONTEXT_CLASS(k) (GTK_CHECK_CLASS_CAST((k), SP_TYPE_SPRAY_CONTEXT, SPSprayContextClass))
}
}
}
#define TC_MIN_PRESSURE 0.0
#define TC_MAX_PRESSURE 1.0
#define TC_DEFAULT_PRESSURE 0.35
enum {
};
struct SPSprayContext
{
//Inkscape::UI::Dialog::Dialog *dialog_option;//Attribut de type SprayOptionClass, localisé dans scr/ui/dialog
/* extended input data */
/* attributes */
bool usetext ;
double width;
double ratio;
double tilt;
double rot_min;
double rot_max;
double force;
double population;
double scale_min;
double scale_max;
double scale;
double mean;
double standard_deviation;
bool is_drawing;
bool is_dilating;
bool has_dilated;
bool do_h;
bool do_s;
bool do_l;
bool do_o;
};
struct SPSprayContextClass
{
};
GtkType sp_spray_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 :