/inkscape/src/svg/ |
H A D | test-stubs.cpp | 24 prefs_set_int_attribute(gchar const *path, gchar const *attr, long long int val) argument 26 int_prefs[std::string(path) + '/' + std::string(attr)] = val; 30 prefs_get_int_attribute(gchar const *path, gchar const *attr, long long int def) argument 32 std::map<std::string,long long int>::const_iterator it=int_prefs.find(std::string(path) + '/' + std::string(attr));
|
/inkscape/test/src/ |
H A D | color-profile-test.cpp | 59 gchar const *attr; member in struct:__anon191::__anon192 73 _prof->setKeyValue( SP_ATTR_RENDERING_INTENT, cases[i].attr); 74 ASSERT_EQ( (guint)cases[i].intVal, _prof->rendering_intent ) << cases[i].attr;
|
H A D | attributes-test.cpp | 26 AttributeInfo(std::string const &attr, bool supported) : argument 27 attr(attr), 32 std::string attr; member in class:__anon190::AttributeInfo 541 unsigned int id = sp_attribute_lookup(it->attr.c_str()); 556 unsigned int id = sp_attribute_lookup(it->attr.c_str()); 557 EXPECT_EQ(it->supported, id != 0u) << "Matching for attribute '" << it->attr << "'"; 567 unsigned int id = sp_attribute_lookup(it->attr.c_str()); 569 EXPECT_TRUE(redoneName != NULL) << "For attribute '" << it->attr << "'"; 571 EXPECT_EQ(it->attr, redoneNam [all...] |
/inkscape/src/ |
H A D | color-profile-test.h | 64 gchar const *attr; member in struct:ColorProfileTest::__anon18 82 std::string descr(cases[i].attr); 83 SP_OBJECT(prof)->setKeyValue( SP_ATTR_RENDERING_INTENT, cases[i].attr);
|
H A D | attributes-test.h | 49 struct {char const *attr; bool supported;} const all_attrs[] = { member in struct:AttributesTest::__anon16 533 char const *const attr_str = all_attrs[i].attr; 536 TSM_ASSERT_EQUALS( std::string(all_attrs[i].attr), recognized, all_attrs[i].supported );
|
H A D | id-clash.cpp | 36 const char *attr; // property or href-like attribute member in struct:IdReference 107 const char *attr = clipboard_properties[i]; local 108 const gchar *value = sp_repr_css_property(css, attr, NULL); 112 IdReference idref = { REF_CLIPBOARD, elem, attr }; 125 const char *attr = href_like_attributes[i]; local 126 const gchar *val = repr_elem->attribute(attr); 129 IdReference idref = { REF_HREF, elem, attr }; 177 const char *attr = other_url_properties[i]; local 178 const gchar *value = repr_elem->attribute(attr); 182 IdReference idref = { REF_URL, elem, attr }; [all...] |
H A D | rdf.cpp | 968 gchar const * attr = current->attribute("rdf:resource"); local 969 if ( attr == NULL ) continue; 972 printf("\texamining '%s' => '%s'\n", current->name(), attr); 982 printf("\t\t'%s' vs '%s'\n", attr, license->details[i].resource); 987 !strcmp( attr,
|
H A D | shortcuts.cpp | 295 Glib::ustring attr = prefs->getString("/dialogs/save_export/path"); local 296 if (!attr.empty()) open_path = attr;
|
H A D | sp-guide.cpp | 177 const gchar *attr = this->getRepr()->attribute("orientation"); local 178 if (attr && !strcmp(attr, "horizontal")) {
|
H A D | sp-gradient.cpp | 463 gchar const * attr = this->getAttribute("osb:paint"); local 464 if ( attr && strcmp(attr, "gradient") ) { 492 gchar const * attr = this->getAttribute("osb:paint"); local 494 if ( attr && strcmp(attr, "solid") ) {
|
H A D | file.cpp | 65 #include "xml/sp-css-attr.h" 502 Glib::ustring attr = prefs->getString("/dialogs/open/path"); local 503 if (!attr.empty()) open_path = attr; 1303 Glib::ustring attr = prefs->getString("/dialogs/import/path"); local 1304 if (!attr.empty()) import_path = attr;
|
H A D | preferences.cpp | 589 // If there is a node with id corresponding to the attr key, 729 gchar const *attr = node->attribute(attr_key.c_str()); local 730 if ( attr == NULL ) { 733 result = attr;
|
H A D | sp-object.cpp | 375 void SPObject::setCSS(SPCSSAttr *css, gchar const *attr) argument 378 sp_repr_css_set(this->getRepr(), css, attr); 381 void SPObject::changeCSS(SPCSSAttr *css, gchar const *attr) argument 384 sp_repr_css_change(this->getRepr(), css, attr);
|
/inkscape/share/extensions/ink2canvas/ |
H A D | svg.py | 25 def attr(self, val, ns=""): member in class:Element 29 attr = float(self.node.get(val)) 31 attr = self.node.get(val) 32 return attr 43 x1 = self.attr("x1") 44 y1 = self.attr("y1") 45 x2 = self.attr("x2") 46 y2 = self.attr("y2") 55 cx = self.attr("cx") 56 cy = self.attr("c [all...] |
/inkscape/src/extension/internal/filter/ |
H A D | filter.cpp | 80 gchar const * attr = g_quark_to_string(iter->key); local 81 //printf("Attribute List: %s\n", attr); 82 if (!strcmp(attr, "id")) continue; // nope, don't copy that one! 83 to->setAttribute(attr, from->attribute(attr)); 85 if (!strcmp(attr, "in") || !strcmp(attr, "in2") || !strcmp(attr, "in3")) { 86 if (srcGraphic != NULL && !strcmp(from->attribute(attr), "SourceGraphic")) { 87 to->setAttribute(attr, srcGraphi [all...] |
/inkscape/src/widgets/ |
H A D | ink-action.cpp | 312 SPAttributeEnum attr) 320 //"SP_ATTR_INKSCAPE", attr, // Why doesn't this work and do I need to use g_object_set_data below? 323 g_object_set_data(obj, "SP_ATTR_INKSCAPE", GINT_TO_POINTER(attr)); 307 ink_toggle_action_new( const gchar *name, const gchar *label, const gchar *tooltip, const gchar *inkId, Inkscape::IconSize size, SPAttributeEnum attr) argument
|
H A D | ruler.cpp | 1530 PangoAttribute *attr; local 1536 attr = pango_attr_scale_new (priv->font_scale); 1537 attr->start_index = 0; 1538 attr->end_index = -1; 1539 pango_attr_list_insert (attrs, attr);
|
/inkscape/src/ui/dialog/ |
H A D | svg-fonts-dialog.h | 95 AttrEntry(SvgFontsDialog* d, gchar* lbl, const SPAttributeEnum attr); 101 SPAttributeEnum attr; member in class:Inkscape::UI::Dialog::SvgFontsDialog::AttrEntry 134 Gtk::HBox* AttrCombo(gchar* lbl, const SPAttributeEnum attr); 135 // Gtk::HBox* AttrSpin(gchar* lbl, const SPAttributeEnum attr);
|
H A D | xml-tree.cpp | 47 #include "widgets/sp-xmlview-attr-list.h" 324 * Sets the XML status bar, depending on which attr is selected. 326 void XmlTree::attr_reset_context(gint attr) argument 328 if (attr == 0) { 333 const gchar *name = g_quark_to_string(attr); 757 guint attr = 0; local 758 gtk_tree_model_get (model, &iter, ATTR_COL_NAME, &name, ATTR_COL_VALUE, &value, ATTR_COL_ATTR, &attr, -1); 766 self->selected_attr = attr;
|
H A D | document-properties.cpp | 1124 Glib::ustring attr = prefs->getString(_prefs_path); local 1125 if (!attr.empty()) open_path = attr;
|
H A D | svg-fonts-dialog.cpp | 88 Gtk::HBox* SvgFontsDialog::AttrEntry(gchar* lbl, const SPAttributeEnum attr){ 100 SvgFontsDialog::AttrEntry::AttrEntry(SvgFontsDialog* d, gchar* lbl, const SPAttributeEnum attr){ argument 102 this->attr = attr; 119 switch(this->attr){ 131 const gchar* name = (const gchar*)sp_attribute_name(this->attr); 144 Gtk::HBox* SvgFontsDialog::AttrCombo(gchar* lbl, const SPAttributeEnum /*attr*/){
|
/inkscape/src/xml/ |
H A D | repr-css.cpp | 6 * sp-css-attr.h and node.h 30 #include "xml/sp-css-attr.h" 54 static void sp_repr_css_add_components(SPCSSAttr *css, Node *repr, gchar const *attr); 83 SPCSSAttr *sp_repr_css_attr(Node *repr, gchar const *attr) argument 86 g_assert(attr != NULL); 89 sp_repr_css_add_components(css, repr, attr); 167 static void sp_repr_css_attr_inherited_recursive(SPCSSAttr *css, Node *repr, gchar const *attr) argument 173 sp_repr_css_attr_inherited_recursive(css, parent, attr); 175 sp_repr_css_add_components(css, repr, attr); 181 SPCSSAttr *sp_repr_css_attr_inherited(Node *repr, gchar const *attr) argument 198 sp_repr_css_add_components(SPCSSAttr *css, Node *repr, gchar const *attr) argument 217 char const *attr = ((Node *)css)->attribute(name); local 231 char const *attr = ((Node *)css)->attribute(name); local 297 sp_repr_css_set(Node *repr, SPCSSAttr *css, gchar const *attr) argument 445 sp_repr_css_change(Node *repr, SPCSSAttr *css, gchar const *attr) argument 458 sp_repr_css_change_recursive(Node *repr, SPCSSAttr *css, gchar const *attr) argument [all...] |
/inkscape/src/ui/widget/ |
H A D | preferences-widget.cpp | 828 Glib::ustring attr = prefs->getString(_prefs_path); local 829 if (!attr.empty()) open_path = attr;
|
H A D | gimpcolorwheel.c | 274 GdkWindowAttr attr; local 282 attr.window_type = GDK_WINDOW_CHILD; 283 attr.x = allocation.x; 284 attr.y = allocation.y; 285 attr.width = allocation.width; 286 attr.height = allocation.height; 287 attr.wclass = GDK_INPUT_ONLY; 288 attr.event_mask = (gtk_widget_get_events (widget) | 303 priv->window = gdk_window_new (parent_window, &attr, attr_mask);
|
/inkscape/src/ui/tool/ |
H A D | path-manipulator.cpp | 84 virtual void notifyAttributeChanged(Inkscape::XML::Node &/*node*/, GQuark attr, argument 95 if (attr == lpe_quark || attr == path_d) { 97 } else if (attr == path_transform) {
|