Lines Matching defs:property

244                 // If any font property has changed, then we have written out the font
288 gchar const *property = sp_repr_css_property(desktop->current,
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;
319 if (desktop->current && property) { // if there is style and the property in it,
320 if ( !sp_svg_number_read_f(property, &value) ) {
346 gchar const *property = css ? sp_repr_css_property(css, is_fill ? "fill-opacity": "stroke-opacity", "1.000") : 0;
348 if (desktop->current && property) { // if there is style and the property in it,
349 if ( !sp_svg_number_read_f(property, &value) ) {
375 gchar const *property = sp_repr_css_property(css, is_fill ? "fill" : "stroke", "#000");
377 if (desktop->current && property) { // if there is style and the property in it,
378 if (strncmp(property, "url", 3) && strncmp(property, "none", 4)) { // and if it's not url or none,
380 r = sp_svg_read_color(property, r);
1854 * Query the given list of objects for the given property, write
1858 sp_desktop_query_style_from_list (const std::vector<SPItem*> &list, SPStyle *style, int property)
1860 if (property == QUERY_STYLE_PROPERTY_FILL) {
1862 } else if (property == QUERY_STYLE_PROPERTY_STROKE) {
1865 } else if (property == QUERY_STYLE_PROPERTY_STROKEWIDTH) {
1867 } else if (property == QUERY_STYLE_PROPERTY_STROKEMITERLIMIT) {
1869 } else if (property == QUERY_STYLE_PROPERTY_STROKECAP) {
1871 } else if (property == QUERY_STYLE_PROPERTY_STROKEJOIN) {
1874 } else if (property == QUERY_STYLE_PROPERTY_PAINTORDER) {
1876 } else if (property == QUERY_STYLE_PROPERTY_MASTEROPACITY) {
1879 } else if (property == QUERY_STYLE_PROPERTY_FONT_SPECIFICATION) {
1881 } else if (property == QUERY_STYLE_PROPERTY_FONTFAMILY) {
1883 } else if (property == QUERY_STYLE_PROPERTY_FONTSTYLE) {
1885 } else if (property == QUERY_STYLE_PROPERTY_FONTVARIANTS) {
1887 } else if (property == QUERY_STYLE_PROPERTY_FONTFEATURESETTINGS) {
1889 } else if (property == QUERY_STYLE_PROPERTY_FONTNUMBERS) {
1891 } else if (property == QUERY_STYLE_PROPERTY_WRITINGMODES) {
1893 } else if (property == QUERY_STYLE_PROPERTY_BASELINES) {
1896 } else if (property == QUERY_STYLE_PROPERTY_BLEND) {
1898 } else if (property == QUERY_STYLE_PROPERTY_BLUR) {
1906 * Query the subselection (if any) or selection on the given desktop for the given property, write
1910 sp_desktop_query_style(SPDesktop *desktop, SPStyle *style, int property)
1913 int ret = desktop->_query_style_signal.emit(style, property);
1920 return sp_desktop_query_style_from_list (desktop->selection->itemList(), style, property);