| /inkscape/share/extensions/ |
| H A D | empty_business_card.py | 19 width = m.group(1) 20 width_unit = m.group(2) 21 height = m.group(3) 22 height_unit = m.group(4)
|
| H A D | dimension.py | 142 group = inkex.etree.SubElement(layer, 'g') 143 # group = inkex.etree.Element("g") 144 group.set('fill', 'none') 145 group.set('stroke', 'black') 151 group.append(line) 155 group.append(line) 159 group.append(line) 165 group.append(line) 169 group.append(line) 173 group [all...] |
| H A D | webslicer_create_group.py | 57 inkex.errormsg(_('You must create and select some "Slicer rectangles" before trying to group.')) 79 group = inkex.etree.SubElement(g_parent, 'g') 80 desc = inkex.etree.SubElement(group, 'desc') 87 group.insert( 1, node )
|
| H A D | empty_desktop.py | 25 width = int(m.group(1)) 26 height = int(m.group(2))
|
| H A D | empty_video.py | 25 width = int(m.group(1)) 26 height = int(m.group(2))
|
| H A D | simpletransform.py | 32 if result.group(1)=="translate": 33 args=result.group(2).replace(',',' ').split() 41 if result.group(1)=="scale": 42 args=result.group(2).replace(',',' ').split() 50 if result.group(1)=="rotate": 51 args=result.group(2).replace(',',' ').split() 60 if result.group(1)=="skewX": 61 a=float(result.group(2))*math.pi/180 64 if result.group(1)=="skewY": 65 a=float(result.group( [all...] |
| H A D | dots.py | 76 self.group = inkex.etree.SubElement( node.getparent(), inkex.addNS('g','svg') ) 77 self.dotGroup = inkex.etree.SubElement( self.group, inkex.addNS('g','svg') ) 78 self.numGroup = inkex.etree.SubElement( self.group, inkex.addNS('g','svg') ) 82 self.group.set('transform', t)
|
| H A D | motion.py | 63 group = inkex.etree.SubElement(node.getparent(),inkex.addNS('g','svg')) 64 self.facegroup = inkex.etree.SubElement(group, inkex.addNS('g','svg')) 65 group.append(node) 69 group.set('transform', t)
|
| H A D | layout_nup.py | 246 group = sub(layer, 'g', id='cross') 256 sub(group, 'path', style=style+'stroke-width:0.05', 262 sub(group, 'use', { 274 group = sub(layer, 'g', {'id':'main'}) 277 sub(group, *padbox) 279 sub(group, *margbox) 290 sub(group, 'path', style=style, d = path)
|
| H A D | layers2svgfont.py | 81 for group in groups: 82 label = group.get(inkex.addNS('label', 'inkscape')) 93 #use.set(inkex.addNS('href', 'xlink'), "#"+group.get("id")) 100 #paths = group.findall(inkex.addNS('path', 'svg')) 111 paths = group.findall(inkex.addNS('path', 'svg'))
|
| H A D | synfig_prepare.py | 173 """An action group with stock commands designed for Synfig exporting""" 286 group = path_node.makeelement(addNS("g", "svg")) 287 fill = etree.SubElement(group, addNS("path", "svg")) 288 stroke = etree.SubElement(group, addNS("path", "svg")) 319 # Pass along all remaining attributes to the group 321 group.set(attrib_name, attribs[attrib_name]) 323 group.set("id", path_id) 344 group.set("style", simplestyle.formatStyle(style_group)) 362 # Replace the original node with the group 363 path_node.getparent().replace(path_node, group) [all...] |
| H A D | print_win32_vector.py | 151 def process_group(self, group): 152 if group.get(inkex.addNS('groupmode', 'inkscape')) == 'layer': 153 style = group.get('style') 159 trans = group.get('transform') 162 for node in group:
|
| H A D | measure.py | 230 self.group = inkex.etree.SubElement(node.getparent(),inkex.addNS('text','svg')) 233 self.group = inkex.etree.SubElement(node.getparent(),inkex.addNS('text','svg')) 236 self.group = inkex.etree.SubElement(node.getparent(),inkex.addNS('path','svg')) 237 self.group.set('id', 'MassCenter_' + node.get('id')) 238 self.addCross(self.group, xc, yc, scale) 247 self.addTextOnPath(self.group, 0, 0, lenstr+' '+self.options.unit, id, self.options.anchor, startOffset, self.options.offset) 249 self.addTextOnPath(self.group, 0, 0, lenstr+' '+self.options.unit+'^2', id, self.options.anchor, startOffset, self.options.offset) 264 self.addTextWithTspan(self.group, tx, ty, lenstr+' '+self.options.unit, id, anchor, -int(self.options.angle), self.options.offset + self.options.fontsize/2) 266 self.addTextWithTspan(self.group, tx, ty, lenstr+' '+self.options.unit+'^2', id, anchor, -int(self.options.angle), -self.options.offset + self.options.fontsize/2)
|
| /inkscape/src/ui/widget/ |
| H A D | licensor.cpp | 47 LicenseItem (struct rdf_license_t const* license, EntityEntry* entity, Registry &wr, Gtk::RadioButtonGroup *group); 55 LicenseItem::LicenseItem (struct rdf_license_t const* license, EntityEntry* entity, Registry &wr, Gtk::RadioButtonGroup *group) argument 58 if (group) { 59 set_group (*group); 101 Gtk::RadioButtonGroup group = i->get_group(); local 108 i = Gtk::manage (new LicenseItem (license, _eentry, wr, &group)); 112 LicenseItem *io = Gtk::manage (new LicenseItem (&_other_license, _eentry, wr, &group));
|
| H A D | rendering-options.cpp | 59 Gtk::RadioButtonGroup group = _radio_vector.get_group (); local 60 _radio_bitmap.set_group (group);
|
| /inkscape/src/ui/tool/ |
| H A D | selectable-control-point.cpp | 29 ColorSet const &cset, SPCanvasGroup *group) : 30 ControlPoint(d, initial_pos, anchor, type, cset, group), 39 ColorSet const &cset, SPCanvasGroup *group) : 40 ControlPoint(d, initial_pos, anchor, pixbuf, cset, group), 26 SelectableControlPoint(SPDesktop *d, Geom::Point const &initial_pos, SPAnchorType anchor, Inkscape::ControlType type, ControlPointSelection &sel, ColorSet const &cset, SPCanvasGroup *group) argument 36 SelectableControlPoint(SPDesktop *d, Geom::Point const &initial_pos, SPAnchorType anchor, Glib::RefPtr<Gdk::Pixbuf> pixbuf, ControlPointSelection &sel, ColorSet const &cset, SPCanvasGroup *group) argument
|
| H A D | selectable-control-point.h | 38 ColorSet const &cset = _default_scp_color_set, SPCanvasGroup *group = 0); 43 ColorSet const &cset = _default_scp_color_set, SPCanvasGroup *group = 0);
|
| H A D | selector.cpp | 32 SelectorPoint(SPDesktop *d, SPCanvasGroup *group, Selector *s) : argument 35 invisible_cset, group),
|
| /inkscape/share/palettes/ |
| H A D | i18n.py | 20 search = regexnoc.search(match.group(1)) 23 sys.stdout.write("NC_(\"Palette\", \"" + match.group(1) + "\"),")
|
| /inkscape/src/ |
| H A D | sp-item-group.cpp | 25 #include "display/drawing-group.h" 59 static void sp_group_perform_patheffect(SPGroup *group, SPGroup *topgroup, bool write); 182 // For a group, we need to update ourselves *after* updating children. 183 // this is because the group might contain shapes such as rect or ellipse, 190 Inkscape::DrawingGroup *group = dynamic_cast<Inkscape::DrawingGroup *>(v->arenaitem); local 194 group->setStyle(this->style, this->context_style); 264 value = "group"; 392 sp_item_group_ungroup (SPGroup *group, std::vector<SPItem*> &children, bool do_done) argument 394 g_return_if_fail (group != NULL); 396 SPDocument *doc = group 558 sp_item_group_item_list(SPGroup * group) argument 571 sp_item_group_get_child_by_name(SPGroup *group, SPObject *ref, const gchar *name) argument 657 SPGroup *group = dynamic_cast<SPGroup *>(item); local 827 sp_group_perform_patheffect(SPGroup *group, SPGroup *topgroup, bool write) argument [all...] |
| H A D | object-test.h | 11 #include "sp-item-group.h" 96 SPGroup *group = dynamic_cast<SPGroup *>(doc->getObjectById("G")); local 97 testGrouping(group); 168 void testGrouping(SPGroup *group) argument 172 assert(group != NULL); 175 Inkscape::XML::Node *node = group->getRepr(); 201 std::cout << "Took " << double(end - begin) / double(CLOCKS_PER_SEC) << " seconds to write " << num_elements << " elements into a group\n"; 203 SPGroup *n_group = dynamic_cast<SPGroup *>(group->get_child_by_repr(new_group));
|
| H A D | layer-manager.cpp | 24 #include "sp-item-group.h" 281 SPGroup* group = SP_GROUP(curr); local 282 if ( group->layerMode() == SPGroup::LAYER ) { 283 // If we have a layer-group as the one or a parent, ensure it is listed as a valid layer. 286 if ( (!(group->getRepr())) || (!(group->getRepr()->parent())) ) { 290 // If a non-layer group is a parent of layer groups, then show it also as a layer. 291 // TODO add the magic Inkscape group mode? 293 if ( group->getRepr() && group [all...] |
| H A D | sp-item-group.h | 99 * finds clones of a child of the group going out of the group; and inverse the group transform on its clones 101 * @param group current group 107 void sp_item_group_ungroup (SPGroup *group, std::vector<SPItem*> &children, bool do_done = true); 110 std::vector<SPItem*> sp_item_group_item_list (SPGroup *group); 112 SPObject *sp_item_group_get_child_by_name (SPGroup *group, SPObject *ref, const char *name);
|
| /inkscape/src/widgets/ |
| H A D | ege-adjustment-action.cpp | 624 static void create_single_menu_item( GCallback toggleCb, int val, GtkWidget* menu, EgeAdjustmentAction* act, GtkWidget** dst, GSList** group, gdouble num, gboolean active ) argument 647 *dst = gtk_radio_menu_item_new_with_label( *group, str ); 648 if ( !*group) { 649 *group = gtk_radio_menu_item_get_group( GTK_RADIO_MENU_ITEM(*dst) ); 668 GSList** group, 681 create_single_menu_item( toggleCb, val + g_list_position(act->private_data->descriptions, cur), menu, act, dst, group, descr->value, FALSE ); 696 GSList* group = 0; local 715 addOns = flush_explicit_items( addOns, G_CALLBACK(process_menu_action), BUMP_CUSTOM, menu, act, &single, &group, upper ); 716 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_TOP, menu, act, &single, &group, upper, FALSE ); local 718 addOns = flush_explicit_items( addOns, G_CALLBACK(process_menu_action), BUMP_CUSTOM, menu, act, &single, &group, bas 662 flush_explicit_items( GList* descriptions, GCallback toggleCb, int val, GtkWidget* menu, EgeAdjustmentAction* act, GtkWidget** dst, GSList** group, gdouble num ) argument 719 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_PAGE_UP, menu, act, &single, &group, base + page, FALSE ); local 723 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_UP, menu, act, &single, &group, base + step, FALSE ); local 728 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_NONE, menu, act, &single, &group, base, TRUE ); local 733 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_DOWN, menu, act, &single, &group, base - step, FALSE ); local 737 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_PAGE_DOWN, menu, act, &single, &group, base - page, FALSE ); local 740 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_BOTTOM, menu, act, &single, &group, lower, FALSE ); local [all...] |
| /inkscape/src/extension/internal/ |
| H A D | latex-text-renderer.h | 80 void sp_group_render(SPGroup *group);
|