summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 83965d6)
raw | patch | inline | side by side (parent: 83965d6)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 20 Aug 2007 01:38:47 +0000 (01:38 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 20 Aug 2007 01:38:47 +0000 (01:38 +0000) |
src/dialogs/stroke-style.cpp | patch | blob | history | |
src/ui/widget/selected-style.cpp | patch | blob | history |
index fd43d374c9dd1a044dfb6a1be32a02e55a2cacf1..c7e8d8989287631654fc70d93b3de813fedc3b1d 100644 (file)
if (items) {
SPCSSAttr *css = sp_repr_css_attr_new ();
sp_repr_css_unset_property (css, "stroke");
+ sp_repr_css_unset_property (css, "stroke-opacity");
+ sp_repr_css_unset_property (css, "stroke-width");
+ sp_repr_css_unset_property (css, "stroke-miterlimit");
+ sp_repr_css_unset_property (css, "stroke-linejoin");
+ sp_repr_css_unset_property (css, "stroke-linecap");
+ sp_repr_css_unset_property (css, "stroke-dashoffset");
+ sp_repr_css_unset_property (css, "stroke-dasharray");
sp_desktop_set_style (desktop, css);
sp_repr_css_attr_unref (css);
index fcd56ad441333185317f9b4999230e5bc45d22d7..e2ac69b4c44ded970fb243d4deb3336e517ed929 100644 (file)
void SelectedStyle::on_stroke_unset() {
SPCSSAttr *css = sp_repr_css_attr_new ();
sp_repr_css_unset_property (css, "stroke");
+ sp_repr_css_unset_property (css, "stroke-opacity");
+ sp_repr_css_unset_property (css, "stroke-width");
+ sp_repr_css_unset_property (css, "stroke-miterlimit");
+ sp_repr_css_unset_property (css, "stroke-linejoin");
+ sp_repr_css_unset_property (css, "stroke-linecap");
+ sp_repr_css_unset_property (css, "stroke-dashoffset");
+ sp_repr_css_unset_property (css, "stroke-dasharray");
sp_desktop_set_style (_desktop, css, true, true);
sp_repr_css_attr_unref (css);
sp_document_done (sp_desktop_document(_desktop), SP_VERB_DIALOG_FILL_STROKE,