Searched refs:property (Results 1 - 25 of 41) sorted by relevance

12

/inkscape/src/
H A Dattribute-rel-css.cpp34 * This function checks whether an element -> CSS property pair
37 bool SPAttributeRelCSS::findIfValid(Glib::ustring property, Glib::ustring element) argument
54 if (property[0] == '-'
55 || property.substr(0,4) == "role"
56 || property.substr(0,4) == "aria"
57 || property.substr(0,5) == "xmlns"
58 || property.substr(0,8) == "inkscape:"
59 || property.substr(0,9) == "sodipodi:"
60 || property.substr(0,4) == "rdf:"
61 || property
77 findIfDefault(Glib::ustring property, Glib::ustring value) argument
96 findIfInherit(Glib::ustring property) argument
111 findIfProperty(Glib::ustring property) argument
[all...]
H A Dattribute-rel-css.h20 * Utility class that helps check whether a given element -> CSS property is
21 * valid or not and whether the value assumed by a CSS property has a default
26 static bool findIfValid(Glib::ustring property, Glib::ustring element);
27 static bool findIfDefault(Glib::ustring property, Glib::ustring value);
28 static bool findIfInherit(Glib::ustring property);
29 static bool findIfProperty(Glib::ustring property);
39 * or CSS property -> default value.
50 // Data structure to store CSS property and default value pair
H A Dattribute-rel-util.cpp177 * 1. Is a style property appropriate on the given element?
179 * 2. Is the value of the style property useful?
181 * Is it the default value (and the property on the parent is not set or does not inherit)?
200 gchar const * property = g_quark_to_string(iter->key); local
203 // Check if a property is applicable to an element (i.e. is font-family useful for a <rect>?).
204 if( !SPAttributeRelCSS::findIfValid( property, element ) ) {
206 g_warning( "<%s id=\"%s\">: CSS Style property: \"%s\" is inappropriate.",
207 element.c_str(), id.c_str(), property );
210 toDelete.insert(property);
215 // Find parent value for same property (propert
[all...]
H A Ddesktop-style.cpp244 // If any font property has changed, then we have written out the font
288 gchar const *property = sp_repr_css_property(desktop->current, local
292 if (desktop->current && property) { // if there is style and the property in it,
293 if (strncmp(property, "url", 3)) { // and if it's not url,
295 r = sp_svg_read_color(property, r);
317 gchar const *property = css ? sp_repr_css_property(css, "opacity", "1.000") : 0; local
319 if (desktop->current && property) { // if there is style and the property in it,
320 if ( !sp_svg_number_read_f(property,
346 gchar const *property = css ? sp_repr_css_property(css, is_fill ? "fill-opacity": "stroke-opacity", "1.000") : 0; local
375 gchar const *property = sp_repr_css_property(css, is_fill ? "fill" : "stroke", "#000"); local
1858 sp_desktop_query_style_from_list(const std::vector<SPItem*> &list, SPStyle *style, int property) argument
1910 sp_desktop_query_style(SPDesktop *desktop, SPStyle *style, int property) argument
[all...]
H A Ddesktop-style.h37 enum { // which property was queried (add when you need more)
86 int sp_desktop_query_style_from_list (const std::vector<SPItem*> &list, SPStyle *style, int property);
87 int sp_desktop_query_style(SPDesktop *desktop, SPStyle *style, int property);
H A Dgradient-chemistry.h57 SPGradient *sp_gradient_convert_to_userspace (SPGradient *gr, SPItem *item, const char *property);
H A Dsp-pattern.h60 SPPattern *clone_if_necessary(SPItem *item, const gchar *property);
/inkscape/share/attributes/
H A DgenMapDataCSS.pl33 my $property;
53 # First column is always property name, defined inside <span>.
57 # } $property =~ s/\‘//;
60 $property = $t->[1];
61 $property =~ s/‘//; # Opening single quote
62 $property =~ s/’//; # Closing single quote
63 print "Property: $property\n";
69 $properties{ $property }->{default} = $default;
81 push @{$properties{ $property }->{elements}}, $element;
88 push @{$properties{ $property }
[all...]
/inkscape/src/libcroco/
H A Dcr-declaration.c62 *@a_property: the property string of the declaration
95 result->property = a_property;
123 CRString *property = NULL; local
140 status = cr_parser_parse_declaration (parser, &property,
142 if (status != CR_OK || !property)
145 result = cr_declaration_new (a_statement, property, value);
147 property = NULL;
159 if (property) {
160 cr_string_destroy (property);
161 property
188 CRString *property = NULL; local
[all...]
H A Dcr-declaration.h44 *It is actually a chained list of property/value pairs.
49 /**The property.*/
50 CRString *property ; member in struct:_CRDeclaration
52 /**The value of the property.*/
H A Dcr-doc-handler.c192 a_this->property = NULL;
H A Dcr-doc-handler.h158 *@param a_name the name of the parsed property.
160 *the value of the property. A css expression is
165 void (*property) (CRDocHandler *a_this, member in struct:_CRDocHandler
/inkscape/src/debug/
H A Dsimple-event.h39 PropertyPair property(unsigned property) const { function in class:Inkscape::Debug::SimpleEvent
40 return _properties[property];
H A Devent.h61 virtual PropertyPair property(unsigned property) const=0;
/inkscape/src/ui/widget/
H A Dstyle-subject.h45 virtual int queryStyle(SPStyle *query, int property) = 0;
68 virtual int queryStyle(SPStyle *query, int property);
89 virtual int queryStyle(SPStyle *query, int property);
H A Dstyle-subject.cpp74 int StyleSubject::Selection::queryStyle(SPStyle *query, int property) { argument
77 return sp_desktop_query_style(desktop, query, property);
150 int StyleSubject::CurrentLayer::queryStyle(SPStyle *query, int property) { argument
155 return sp_desktop_query_style_from_list(list, query, property);
H A Dhighlight-picker.h18 #include <glibmm/property.h>
H A Daddtoicon.h18 #include <glibmm/property.h>
H A Dinsertordericon.h19 #include <glibmm/property.h>
H A Dclipmaskicon.h18 #include <glibmm/property.h>
H A Dimagetoggler.h19 #include <glibmm/property.h>
H A Dlayertypeicon.h18 #include <glibmm/property.h>
/inkscape/share/extensions/
H A Dinterp.py59 def tweenstylefloat(property, start, end, time):
60 sp = float(start[property])
61 ep = float(end[property])
63 def tweenstylecolor(property, start, end, time):
64 sr,sg,sb = parsecolor(start[property])
65 er,eg,eb = parsecolor(end[property])
111 def tweenstyleunit(self, property, start, end, time): # moved here so we can call 'unittouu'
112 sp = self.unittouu(start[property])
113 ep = self.unittouu(end[property])
/inkscape/src/ui/dialog/
H A Dfloating-behavior.h16 #include <glibmm/property.h>
/inkscape/src/ui/tools/
H A Dtext-tool.h91 int _styleQueried(SPStyle *style, int property);

Completed in 296 milliseconds

12