summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e9ddb59)
raw | patch | inline | side by side (parent: e9ddb59)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 26 Aug 2007 22:33:42 +0000 (22:33 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 26 Aug 2007 22:33:42 +0000 (22:33 +0000) |
src/sp-gradient.cpp | patch | blob | history |
diff --git a/src/sp-gradient.cpp b/src/sp-gradient.cpp
index 8fad6074abec95235be7761e9e09915f9352e6bb..8a3eded40e50085d05c54204d3fe5042e23bb2e2 100644 (file)
--- a/src/sp-gradient.cpp
+++ b/src/sp-gradient.cpp
}
guint32 specifiedcolor = sp_color_get_rgba32_ualpha(&stop->specified_color, 255);
+ gfloat opacity = stop->opacity;
if (((SPObjectClass *) stop_parent_class)->write)
(* ((SPObjectClass *) stop_parent_class)->write)(object, repr, flags);
sp_svg_write_color(c, 64, specifiedcolor);
os << c;
}
- os << ";stop-opacity:" << stop->opacity;
+ os << ";stop-opacity:" << opacity;
repr->setAttribute("style", os.str().c_str());
repr->setAttribute("stop-color", NULL);
repr->setAttribute("stop-opacity", NULL);