Searched refs:param (Results 1 - 25 of 33) sorted by relevance

12

/inkscape/src/extension/
H A Dextension.cpp40 #include "param/parameter.h"
53 \param in_repr The repr that should be used to build it
101 if (!strcmp(chname, "param") || !strcmp(chname, "_param")) {
102 Parameter * param; local
103 param = Parameter::make(child_repr, this);
104 if (param != NULL)
105 parameters = g_slist_append(parameters, param);
106 } /* param || _param */
155 Parameter * param = reinterpret_cast<Parameter *>(list->data); local
156 delete param;
417 Parameter * param = static_cast<Parameter*>(list->data); local
439 Parameter const *param = get_param(name); local
446 Parameter const *param = get_param(name); local
461 Parameter const *param = get_param(name); local
468 Parameter const*param = get_param(name); local
487 Parameter * param; local
506 Parameter * param; local
525 Parameter * param; local
544 Parameter const *param = get_param(name); local
563 Parameter * param; local
583 Parameter * param; local
603 Parameter * param; local
623 Parameter * param; local
631 Parameter * param = get_param(name); local
638 Parameter * param = get_param(name); local
658 Parameter* param = get_param(name); local
732 Parameter * param = reinterpret_cast<Parameter *>(list->data); local
752 Parameter * param = reinterpret_cast<Parameter *>(list->data); local
849 Parameter * param = reinterpret_cast<Parameter *>(list->data); local
[all...]
/inkscape/src/extension/param/
H A Dparameter.cpp95 Parameter * param = NULL; local
97 param = new ParamBool(name, guitext, desc, scope, gui_hidden, gui_tip, in_ext, in_repr);
100 param = new ParamInt(name, guitext, desc, scope, gui_hidden, gui_tip, in_ext, in_repr, ParamInt::FULL);
102 param = new ParamInt(name, guitext, desc, scope, gui_hidden, gui_tip, in_ext, in_repr, ParamInt::MINIMAL);
106 param = new ParamFloat(name, guitext, desc, scope, gui_hidden, gui_tip, in_ext, in_repr, ParamFloat::FULL);
108 param = new ParamFloat(name, guitext, desc, scope, gui_hidden, gui_tip, in_ext, in_repr, ParamFloat::MINIMAL);
111 param = new ParamString(name, guitext, desc, scope, gui_hidden, gui_tip, in_ext, in_repr);
114 ParamString * ps = dynamic_cast<ParamString *>(param);
119 param = new ParamDescription(name, guitext, desc, scope, gui_hidden, gui_tip, in_ext, in_repr, ParamDescription::HEADER);
121 param
179 ParamComboBox const *param = dynamic_cast<ParamComboBox const *>(this); local
188 ParamComboBox const *param = dynamic_cast<ParamComboBox const *>(this); local
197 ParamRadioButton const *param = dynamic_cast<ParamRadioButton const *>(this); local
206 ParamColor const *param = dynamic_cast<ParamColor const *>(this); local
252 ParamRadioButton *param = dynamic_cast<ParamRadioButton *>(this); local
261 ParamComboBox *param = dynamic_cast<ParamComboBox *>(this); local
273 ParamColor* param = dynamic_cast<ParamColor *>(this); local
[all...]
H A Dnotebook.cpp81 if (!strcmp(chname, "param") || !strcmp(chname, "_param")) {
82 Parameter * param; local
83 param = Parameter::make(child_repr, ext);
84 if (param != NULL) parameters = g_slist_append(parameters, param);
95 Parameter * param = reinterpret_cast<Parameter *>(list->data); local
96 delete param;
105 Parameter * param = reinterpret_cast<Parameter *>(plist->data); local
106 param->string(list);
117 \param in_rep
206 Parameter * param = reinterpret_cast<Parameter *>(list->data); local
411 Parameter * param = static_cast<Parameter*>(list->data); local
[all...]
H A Dfloat.cpp101 * @param in The value to set to.
102 * @param doc A document that should be used to set the value.
103 * @param node The node where the value may be placed.
141 ParamFloatAdjustment (ParamFloat * param, SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal) : argument
142 Gtk::Adjustment(0.0, param->min(), param->max(), 0.1, 1.0, 0), _pref(param), _doc(doc), _node(node), _changeSignal(changeSignal) {
H A Dint.cpp91 * @param in The value to set to.
92 * @param doc A document that should be used to set the value.
93 * @param node The node where the value may be placed.
123 ParamIntAdjustment (ParamInt * param, SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal) : argument
124 Gtk::Adjustment(0.0, param->min(), param->max(), 1.0, 10.0, 0), _pref(param), _doc(doc), _node(node), _changeSignal(changeSignal) {
H A Dbool.cpp84 * @param param Which parameter to adjust on changing the check button
86 ParamBoolCheckButton (ParamBool * param, SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal) : argument
87 Gtk::CheckButton(), _pref(param), _doc(doc), _node(node), _changeSignal(changeSignal) {
/inkscape/share/extensions/Barcode/
H A DBase.py51 def __init__(self, param):
52 param = param or {}
53 self.document = param.get('document', None)
57 self.pos_x = int(param.get('x', 0))
58 self.pos_y = int(param.get('y', 0))
59 self.text = param.get('text', None)
60 self.scale = param.get('scale', 1)
61 self.height = param.get('height', self.default_height)
62 self.pos_text = param
[all...]
/inkscape/src/live_effects/parameter/
H A Dvector.cpp149 VectorParamKnotHolderEntity_Origin(VectorParam *p) : param(p) { }
154 param->setOrigin(s);
158 return param->origin;
161 g_print ("This is the origin handle associated to parameter '%s'\n", param->param_key.c_str());
165 VectorParam *param; member in class:Inkscape::LivePathEffect::VectorParamKnotHolderEntity_Origin
170 VectorParamKnotHolderEntity_Vector(VectorParam *p) : param(p) { }
174 Geom::Point const s = p - param->origin;
176 param->setVector(s);
180 return param->origin + param
187 VectorParam *param; member in class:Inkscape::LivePathEffect::VectorParamKnotHolderEntity_Vector
[all...]
H A Dtransformedpoint.cpp141 TransformedPointParamKnotHolderEntity_Vector(TransformedPointParam *p) : param(p) { }
145 Geom::Point const s = p - param->origin;
147 param->setVector(s);
151 return param->origin + param->vector;
154 g_print ("This is the vector handle associated to parameter '%s'\n", param->param_key.c_str());
158 TransformedPointParam *param; member in class:Inkscape::LivePathEffect::TransformedPointParamKnotHolderEntity_Vector
/inkscape/src/live_effects/
H A Deffect.cpp574 Parameter * param = *it; local
575 const gchar * key = param->param_key.c_str();
578 bool accepted = param->param_readSVGValue(value);
584 param->param_set_default();
595 Parameter * param = getParameter(key); local
596 if (param) {
598 bool accepted = param->param_readSVGValue(new_value);
604 param->param_set_default();
610 Effect::registerParameter(Parameter * param) argument
612 param_vector.push_back(param);
678 Parameter * param = *it; local
719 Parameter * param = *it; local
743 Parameter * param = param_vector[oncanvasedit_it]; local
792 Parameter * param = *it; local
[all...]
H A Dlpe-transform_2pts.cpp283 Parameter *param = *it; local
284 Gtk::Widget *widg = dynamic_cast<Gtk::Widget *>(param->param_newWidget());
285 Glib::ustring *tip = param->param_getTooltip();
286 if (param->param_key == "first_knot" || param->param_key == "last_knot") {
303 } else if (param->param_key == "from_original_width" || param->param_key == "elastic") {
304 Glib::ustring * tip = param->param_getTooltip();
314 } else if (param->param_key == "flip_horizontal" || param
[all...]
H A Dlpe-simplify.cpp91 Parameter * param = *it; local
92 Gtk::Widget * widg = dynamic_cast<Gtk::Widget *>(param->param_newWidget());
93 if (param->param_key == "simplify_individual_paths" ||
94 param->param_key == "simplify_just_coalesce") {
95 Glib::ustring * tip = param->param_getTooltip();
106 Glib::ustring * tip = param->param_getTooltip();
H A Dlpe-perspective-envelope.cpp255 Parameter * param = *it; local
256 Gtk::Widget * widg = dynamic_cast<Gtk::Widget *>(param->param_newWidget());
257 if (param->param_key == "up_left_point" ||
258 param->param_key == "up_right_point" ||
259 param->param_key == "down_left_point" ||
260 param->param_key == "down_right_point") {
266 Glib::ustring * tip = param->param_getTooltip();
268 if(param->param_key == "up_left_point") {
273 } else if(param->param_key == "up_right_point") {
275 } else if(param
[all...]
H A Dlpe-bspline.cpp94 Parameter *param = *it; local
95 Gtk::Widget *widg = dynamic_cast<Gtk::Widget *>(param->param_newWidget());
96 if (param->param_key == "weight") {
110 if (param->param_key == "weight" || param->param_key == "steps") {
123 if (param->param_key == "only_selected" || param->param_key == "apply_no_weight" || param->param_key == "apply_with_weight") {
128 Glib::ustring *tip = param->param_getTooltip();
H A Dlpe-fillet-chamfer.cpp113 Parameter *param = *it; local
114 Gtk::Widget *widg = param->param_newWidget();
115 if (param->param_key == "radius") {
125 } else if (param->param_key == "chamfer_steps") {
135 } else if (param->param_key == "flexible") {
138 } else if (param->param_key == "helper_size") {
141 } else if (param->param_key == "hide_knots") {
144 } else if (param->param_key == "only_selected") {
146 } else if (param->param_key == "ignore_radius_0") {
150 Glib::ustring *tip = param
[all...]
H A Dlpe-perspective_path.cpp217 Parameter * param = *it; local
218 Gtk::Widget * widg = dynamic_cast<Gtk::Widget *>(param->param_newWidget());
219 Glib::ustring * tip = param->param_getTooltip();
H A Dlpe-lattice2.cpp247 Parameter * param = *it; local
248 Gtk::Widget * widg = dynamic_cast<Gtk::Widget *>(param->param_newWidget());
249 if(param->param_key == "grid") {
252 Glib::ustring * tip = param->param_getTooltip();
254 if (param->param_key == "horizontal_mirror" || param->param_key == "vertical_mirror" || param->param_key == "live_update") {
H A Dlpe-roughen.cpp117 Parameter *param = *it; local
118 Gtk::Widget *widg = dynamic_cast<Gtk::Widget *>(param->param_newWidget());
119 if (param->param_key == "method") {
128 if (param->param_key == "displace_x") {
137 if (param->param_key == "global_randomize") {
146 if (param->param_key == "handles") {
155 Glib::ustring *tip = param->param_getTooltip();
H A Deffect.h139 void registerParameter(Parameter * param);
/inkscape/share/extensions/
H A Dsynfig_fileformat.py201 def paramType(layer, param, value=None):
204 if param in layer_params.keys():
205 return layer_params[param][0]
H A Dhpgl_decoder.py83 for i, param in enumerate(parameters):
86 parameters[i] = str(float(param) / self.scaleX)
88 parameters[i] = str(self.options.docHeight - (float(param) / self.scaleY))
H A Dsimplepath.py120 param = cast(token)
123 param += pen[0]
125 param += pen[1]
126 params.append(param)
H A Dsimplepath.rb102 param = token.send PATHDEFS[outputCommand].casts[params.length]
105 when :x: param += pen[0]
106 when :y: param += pen[1]
109 params.push param
H A Dsynfig_output.py248 param = self.root_canvas.makeelement("param")
250 param = etree.SubElement(layer, "param")
251 param.set("name", name)
262 el = etree.SubElement(param, "real")
265 el = etree.SubElement(param, "integer")
268 el = etree.SubElement(param, "vector")
274 el = etree.SubElement(param, "color")
284 el = etree.SubElement(param, "gradien
[all...]
H A Dinkex.py347 param = re.compile(r'(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)')
349 p = param.match(svgwidth)
385 param = re.compile(r'(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)')
387 p = param.match(string)

Completed in 370 milliseconds

12