Searched defs:attributes (Results 1 - 22 of 22) sorted by relevance

/inkscape/src/
H A Dsp-textpath.h19 TextTagAttributes attributes; member in class:SPTextPath
H A Dsp-tref.h20 #include "text-tag-attributes.h"
34 TextTagAttributes attributes; member in class:SPTRef
H A Dsp-tspan.h9 #include "text-tag-attributes.h"
26 TextTagAttributes attributes; member in class:SPTSpan
H A Dtext-tag-attributes.h16 /** \brief contains and manages the attributes common to all types of text tag
18 The five attributes x, y, dx, dy and rotate (todo: textlength, lengthadjust)
20 to abstract the management of those attributes from the actual type of the
27 : attributes(attrs) {}
29 /// Fill in all the fields of #attributes from the given node.
36 /// Write out all the contents of #attributes to the given node.
55 attributes from \a parent_attrs using the rules described in
77 /** Divides the stored attributes into two, at the given index. The
83 /** Overwrites all the attributes contained in this object with the
133 SVGLength *getTextLength() { return &(attributes
138 Inkscape::Text::Layout::OptionalTextTagAttrs attributes; member in class:TextTagAttributes
[all...]
H A Dsp-text.h22 #include "text-tag-attributes.h"
46 TextTagAttributes attributes; member in class:SPText
70 attributes and their inheritance rules, and secondly it keeps track of line
H A Dattribute-rel-util.cpp9 * Utility functions for cleaning SVG tree of unneeded attributes and style properties.
48 * Remove or warn about inappropriate attributes and useless stype properties.
91 * Clean attributes on an element
105 // Clean attributes
106 List<AttributeRecord const> attributes = repr->attributeList(); local
109 for ( List<AttributeRecord const> iter = attributes ; iter ; ++iter ) {
275 // First check if it is a presentation attribute. Presentation attributes can be applied to
278 // attributes are allowed (See SVG1.1 spec, Appendix M.2).
H A Dtext-editing.cpp207 /** returns the attributes for an object, or NULL if it isn't a text,
212 return &SP_TSPAN(object)->attributes;
214 return &SP_TEXT(object)->attributes;
216 return &SP_TREF(object)->attributes;
218 return &SP_TEXTPATH(object)->attributes;
297 Inkscape::Util::List<Inkscape::XML::AttributeRecord const> attributes = old_node->attributeList(); local
299 for ( ; attributes ; attributes++) {
300 if (attributes->key == id_key) continue;
301 new_node->setAttribute(g_quark_to_string(attributes
485 TextTagAttributes *attributes = attributes_for_object(parent_item); local
691 TextTagAttributes *attributes = attributes_for_object(new_parent_item); local
720 TextTagAttributes *attributes = attributes_for_object(parent_item); local
1026 TextTagAttributes *attributes = text_tag_attributes_at_position(item, std::min(start, end), &char_index); local
1040 TextTagAttributes *attributes = text_tag_attributes_at_position(item, std::min(start, end), &char_index); local
1058 TextTagAttributes *attributes = text_tag_attributes_at_position(item, std::min(start, end), &char_index); local
1099 TextTagAttributes *attributes = text_tag_attributes_at_position(text, std::min(start, end), &char_index); local
1117 TextTagAttributes *attributes = text_tag_attributes_at_position(text, std::min(start, end), &char_index); local
[all...]
/inkscape/src/widgets/
H A Dsp-attribute-widget.cpp85 SPAttributeTable::SPAttributeTable (SPObject *object, std::vector<Glib::ustring> &labels, std::vector<Glib::ustring> &attributes, GtkWidget* parent) : argument
94 set_object(object, labels, attributes, parent);
141 std::vector<Glib::ustring> &attributes,
145 g_return_if_fail (!object || !labels.empty() || !attributes.empty());
146 g_return_if_fail (labels.size() == attributes.size());
162 table = new Gtk::Table(attributes.size(), 2, false);
169 _attributes = attributes;
170 for (guint i = 0; i < (attributes.size()); i++) {
191 const gchar *val = object->getRepr()->attribute(attributes[i].c_str());
264 std::vector<Glib::ustring> attributes local
139 set_object(SPObject *object, std::vector<Glib::ustring> &labels, std::vector<Glib::ustring> &attributes, GtkWidget* parent) argument
289 std::vector<Glib::ustring> attributes = spat->get_attributes(); local
313 std::vector<Glib::ustring> attributes; local
[all...]
H A Druler.cpp477 GdkWindowAttr attributes; local
484 attributes.window_type = GDK_WINDOW_CHILD;
485 attributes.x = allocation.x;
486 attributes.y = allocation.y;
487 attributes.width = allocation.width;
488 attributes.height = allocation.height;
489 attributes.wclass = GDK_INPUT_ONLY;
491 attributes.event_mask = (gtk_widget_get_events (widget) |
496 attributes.event_mask = (gtk_widget_get_events (widget) |
504 &attributes, attributes_mas
[all...]
H A Dtext-toolbar.cpp444 Geom::Point XY = SP_TEXT(item)->attributes.firstXY();
450 SP_TEXT(item)->attributes.setFirstXY(XY);
841 TextTagAttributes *attributes = local
843 if( attributes ) {
844 double old_dx = attributes->getDx( char_index );
875 TextTagAttributes *attributes = local
877 if( attributes ) {
878 double old_dy = attributes->getDy( char_index );
910 TextTagAttributes *attributes = local
912 if( attributes ) {
1410 TextTagAttributes *attributes = local
[all...]
/inkscape/src/xml/
H A Drebase-hrefs.cpp99 Inkscape::Util::List<AttributeRecord const> attributes)
108 return attributes;
114 /* First search attributes for xlink:href and sodipodi:absref, putting the rest in ret.
117 * with no change to attributes. */
122 for (List<AttributeRecord const> ai(attributes); ai; ++ai) {
126 return attributes;
137 return attributes;
141 * (For the usual case of not present, attributes and ret will be the same except
214 * Also possibly some other attributes of type <URI> or <IRI> or list-thereof, or types like
215 * <paint> that can include an IRI/URI, and stylesheets and style attributes
97 rebase_href_attrs(gchar const *const old_abs_base, gchar const *const new_abs_base, Inkscape::Util::List<AttributeRecord const> attributes) argument
[all...]
H A Drepr-io.cpp65 List<AttributeRecord const> attributes,
527 // Clean unnecessary attributes and style properties from SVG documents. (Controlled by
706 * xlink:href attributes.
880 // Clean unnecessary attributes and stype properties. (Controlled by preferences.)
895 List<AttributeRecord const> attributes=repr->attributeList(); local
904 attributes = cons(AttributeRecord(g_quark_from_static_string("xmlns"), ns_uri), attributes);
910 attributes = cons(AttributeRecord(key, ns_uri), attributes);
919 return sp_repr_write_stream_element(repr, out, 0, add_whitespace, elide_prefix, attributes,
966 sp_repr_write_stream_element( Node * repr, Writer & out, gint indent_level, bool add_whitespace, Glib::QueryQuark elide_prefix, List<AttributeRecord const> attributes, int inlineattrs, int indent, gchar const *old_href_base, gchar const *new_href_base ) argument
[all...]
/inkscape/src/ui/dialog/
H A Dxml-tree.h125 static void after_tree_move(SPXMLViewTree *attributes, gpointer value, gpointer data);
135 static void on_attr_row_changed(SPXMLViewAttrList *attributes, const gchar * name, gpointer data);
213 SPXMLViewAttrList *attributes; member in class:Inkscape::UI::Dialog::XmlTree
H A Dxml-tree.cpp65 attributes (NULL),
192 /* attributes */
195 attributes = SP_XMLVIEW_ATTR_LIST(sp_xmlview_attr_list_new(NULL));
212 attr_scroller->add(*Gtk::manage(Glib::wrap(GTK_WIDGET(attributes))));
249 selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(attributes));
251 g_signal_connect( G_OBJECT(attributes), "row-value-changed", G_CALLBACK(on_attr_row_changed), this);
465 sp_xmlview_attr_list_set_repr(attributes, repr);
467 sp_xmlview_attr_list_set_repr(attributes, NULL);
567 void XmlTree::after_tree_move(SPXMLViewTree * /*attributes*/, gpointer value, gpointer data)
778 void XmlTree::on_attr_row_changed(SPXMLViewAttrList *attributes, cons argument
[all...]
H A Dfiledialogimpl-win32.cpp944 DWORD attributes = GetFileAttributesW(_path_string); local
945 if(attributes == 0xFFFFFFFF ||
946 attributes == FILE_ATTRIBUTE_DIRECTORY)
/inkscape/src/libgdl/
H A Dgdl-dock-tablabel.c531 GdkWindowAttr attributes; local
537 attributes.window_type = GDK_WINDOW_CHILD;
539 attributes.x = widget_allocation.x;
540 attributes.y = widget_allocation.y;
541 attributes.width = widget_allocation.width;
542 attributes.height = widget_allocation.height;
543 attributes.wclass = GDK_INPUT_ONLY;
544 attributes.event_mask = gtk_widget_get_events (widget);
545 attributes.event_mask |= (GDK_EXPOSURE_MASK |
558 &attributes, attributes_mas
[all...]
H A Dgdl-dock-item-grip.c418 GdkWindowAttr attributes; local
425 attributes.x = allocation.x;
426 attributes.y = allocation.y;
427 attributes.width = allocation.width;
428 attributes.height = allocation.height;
429 attributes.window_type = GDK_WINDOW_CHILD;
430 attributes.wclass = GDK_INPUT_OUTPUT;
431 attributes.event_mask = GDK_ALL_EVENTS_MASK;
434 &attributes, (GDK_WA_X | GDK_WA_Y));
H A Dgdl-dock-item.c987 GdkWindowAttr attributes; local
999 attributes.x = allocation.x;
1000 attributes.y = allocation.y;
1001 attributes.width = allocation.width;
1002 attributes.height = allocation.height;
1003 attributes.window_type = GDK_WINDOW_CHILD;
1004 attributes.wclass = GDK_INPUT_OUTPUT;
1005 attributes.visual = gtk_widget_get_visual (widget);
1006 attributes.colormap = gtk_widget_get_colormap (widget);
1007 attributes
[all...]
/inkscape/cxxtest/cxxtest/
H A DX11Gui.h263 XWindowAttributes attributes; local
264 XGetWindowAttributes( _display, _window, &attributes );
265 _width = attributes.width;
266 _height = attributes.height;
/inkscape/src/ui/widget/
H A Dcolor-slider.cpp100 GdkWindowAttr attributes; local
104 memset(&attributes, 0, sizeof(attributes));
105 attributes.x = allocation.get_x();
106 attributes.y = allocation.get_y();
107 attributes.width = allocation.get_width();
108 attributes.height = allocation.get_height();
109 attributes.window_type = GDK_WINDOW_CHILD;
110 attributes.wclass = GDK_INPUT_OUTPUT;
111 attributes
[all...]
/inkscape/src/display/
H A Dsp-canvas.cpp1045 GdkWindowAttr attributes; local
1047 attributes.window_type = GDK_WINDOW_CHILD;
1049 attributes.x = allocation.x;
1050 attributes.y = allocation.y;
1051 attributes.width = allocation.width;
1052 attributes.height = allocation.height;
1053 attributes.wclass = GDK_INPUT_OUTPUT;
1054 attributes.visual = gdk_visual_get_system();
1057 attributes.colormap = gdk_colormap_get_system();
1060 attributes
[all...]
/inkscape/
H A Dbuildtool.cpp814 { return attributes; }
857 attributes = other.attributes;
872 std::vector<Attribute> attributes; member in class:buildtool::Element
989 elem->attributes = attributes;
1021 for (std::size_t i=0 ; i<attributes.size() ; i++)
1022 if (attributes[i].getName() ==name)
1023 return attributes[i].getValue();
1057 attributes
[all...]

Completed in 78 milliseconds