Lines Matching refs:_text_style
159 SPCSSAttr *_text_style; ///< Style copied along with plain text fragment
172 _text_style(NULL),
216 if (_text_style) {
217 sp_repr_css_attr_unref(_text_style);
218 _text_style = NULL;
220 _text_style = sp_repr_css_attr_new();
224 sp_repr_css_set_property(_text_style, "fill", color_str);
231 sp_repr_css_set_property(_text_style, "opacity", opcss.str().data());
252 if (_text_style) {
253 sp_repr_css_attr_unref(_text_style);
254 _text_style = NULL;
256 _text_style = Inkscape::UI::Tools::sp_text_get_style_at_cursor(desktop->event_context);
456 // no document, but we can try _text_style
457 if (_text_style) {
458 sp_desktop_set_style(desktop, _text_style);
1244 // once we create a SVG document, style will be stored in it, so flush _text_style
1245 if (_text_style) {
1246 sp_repr_css_attr_unref(_text_style);
1247 _text_style = NULL;