/inkscape/src/extension/ |
H A D | extension.cpp | 40 #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 D | parameter.cpp | 95 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 D | notebook.cpp | 81 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 D | float.cpp | 101 * @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 D | int.cpp | 91 * @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 D | bool.cpp | 84 * @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 D | Base.py | 51 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 D | vector.cpp | 149 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 D | transformedpoint.cpp | 141 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 D | effect.cpp | 574 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 D | lpe-transform_2pts.cpp | 283 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 D | lpe-simplify.cpp | 91 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 D | lpe-perspective-envelope.cpp | 255 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 D | lpe-bspline.cpp | 94 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 D | lpe-fillet-chamfer.cpp | 113 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 D | lpe-perspective_path.cpp | 217 Parameter * param = *it; local 218 Gtk::Widget * widg = dynamic_cast<Gtk::Widget *>(param->param_newWidget()); 219 Glib::ustring * tip = param->param_getTooltip();
|
H A D | lpe-lattice2.cpp | 247 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 D | lpe-roughen.cpp | 117 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 D | effect.h | 139 void registerParameter(Parameter * param);
|
/inkscape/share/extensions/ |
H A D | synfig_fileformat.py | 201 def paramType(layer, param, value=None): 204 if param in layer_params.keys(): 205 return layer_params[param][0]
|
H A D | hpgl_decoder.py | 83 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 D | simplepath.py | 120 param = cast(token) 123 param += pen[0] 125 param += pen[1] 126 params.append(param)
|
H A D | simplepath.rb | 102 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 D | synfig_output.py | 248 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 D | inkex.py | 347 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)
|