Searched refs:attr (Results 1 - 25 of 44) sorted by relevance

12

/inkscape/src/svg/
H A Dtest-stubs.h17 long long int prefs_get_int_attribute(gchar const *path, gchar const *attr, long long int def);
H A Dtest-stubs.cpp24 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/src/xml/
H A Drepr-css.cpp6 * 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...]
H A Drepr.h80 SPCSSAttr *sp_repr_css_attr(Inkscape::XML::Node *repr, char const *attr);
82 SPCSSAttr *sp_repr_css_attr_inherited(Inkscape::XML::Node *repr, char const *attr);
/inkscape/cxxtest/
H A Dcxxtest.spec35 %attr(-, root, root) %doc README
36 %attr(-, root, root) %doc sample
37 %attr(-, root, root) /usr/include/cxxtest
38 %attr(-, root, root) /usr/bin/cxxtestgen.pl
39 %attr(-, root, root) /usr/bin/cxxtestgen.py
/inkscape/share/extensions/ink2canvas/
H A Dsvg.py25 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/share/extensions/
H A Dmerge_styles.py30 def __init__(self, attr=None):
33 if attr:
34 self.parse(attr)
36 def parse(self, attr):
37 for name,value in [ a.split(':',1) for a in attr.split(';') if ':' in a ]:
66 for attr in self.keys():
67 if self.weights[attr] < len(self.total) - threshold:
68 self.pop(attr)
H A Dcoloreffect.py48 for attr in color_props:
49 val = node.get(attr)
53 node.set(attr, new_val)
H A Dlayout_nup.py92 attr = node.ownerDocument.createAttribute(name)
93 attr.value = value
94 node.attributes.setNamedItem(attr)
/inkscape/src/
H A Dattributes-test.h49 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 Did-clash.cpp36 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 Dcolor-profile-test.h64 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 Dsp-gradient.cpp463 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 Drdf.cpp968 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,
/inkscape/src/extension/internal/filter/
H A Dfilter.cpp80 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/test/src/
H A Dcolor-profile-test.cpp59 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 Dattributes-test.cpp26 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/ui/widget/
H A Dstyle-swatch.h51 StyleSwatch (SPCSSAttr *attr, gchar const *main_tip);
56 void setStyle(SPCSSAttr *attr);
H A Dgimpcolorwheel.c274 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/dialog/
H A Dsvg-fonts-dialog.h95 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 Dclonetiler.h39 GtkWidget * clonetiler_spinbox(const char *tip, const char *attr, double lower, double upper, const gchar *suffix, bool exponent = false);
40 GtkWidget * clonetiler_checkbox(const char *tip, const char *attr);
H A Dfilter-effects-dialog.cpp707 Glib::ustring attr = prefs->getString("/dialogs/open/path"); local
708 if (!attr.empty())
709 open_path = attr;
839 CheckButtonAttr* add_checkbutton(bool def, const SPAttributeEnum attr, const Glib::ustring& label, argument
842 CheckButtonAttr* cb = new CheckButtonAttr(def, label, tv, fv, attr, tip_text);
849 ColorButton* add_color(unsigned int def, const SPAttributeEnum attr, const Glib::ustring& label, char* tip_text = NULL) argument
851 ColorButton* col = new ColorButton(def, attr, tip_text);
858 MatrixAttr* add_matrix(const SPAttributeEnum attr, const Glib::ustring& label, char* tip_text) argument
860 MatrixAttr* conv = new MatrixAttr(attr, tip_text);
876 SpinScale* add_spinscale(double def, const SPAttributeEnum attr, cons argument
886 add_dualspinscale(const SPAttributeEnum attr, const Glib::ustring& label, const double lo, const double hi, const double step_inc, const double climb, const int digits, char* tip_text1 = NULL, char* tip_text2 = NULL) argument
897 add_dualspinbutton(char* defalt_value, const SPAttributeEnum attr, const Glib::ustring& label, const double lo, const double hi, const double step_inc, const double climb, const int digits, char* tip1 = NULL, char* tip2 = NULL) argument
957 add_fileorelement(const SPAttributeEnum attr, const Glib::ustring& label) argument
967 add_combo(T default_value, const SPAttributeEnum attr, const Glib::ustring& label, const Util::EnumDataConverter<T>& conv, char* tip_text = NULL) argument
978 add_entry(const SPAttributeEnum attr, const Glib::ustring& label, char* tip_text = NULL) argument
2212 draw_connection(const Cairo::RefPtr<Cairo::Context>& cr, const Gtk::TreeIter& input, const int attr, const int text_start_x, const int x1, const int y1, const int row_count) argument
2336 find_result(const Gtk::TreeIter& start, const int attr, int& src_id) argument
3103 set_attr(SPObject* o, const SPAttributeEnum attr, const gchar* val) argument
[all...]
H A Dxml-tree.h83 * Sets the XML status bar, depending on which attr is selected.
85 void attr_reset_context(gint attr);
H A Dfilter-effects-dialog.h232 const Gtk::TreeIter find_result(const Gtk::TreeIter& start, const int attr, int& src_id);
235 const Gtk::TreeIter&, const int attr, const int text_start_x,
/inkscape/src/widgets/
H A Dink-action.h79 SPAttributeEnum attr = SP_ATTR_INVALID);

Completed in 1425 milliseconds

12