summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ddccaf9)
raw | patch | inline | side by side (parent: ddccaf9)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 12 Jan 2007 20:17:54 +0000 (20:17 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 12 Jan 2007 20:17:54 +0000 (20:17 +0000) |
src/widgets/gradient-vector.cpp | patch | blob | history |
index 1f19db0a476a9e73f2d4bf312983a3d11ec62e6d..0bacfa01b69cb269e64b181dbf446b0e2bc3b2b6 100644 (file)
gdouble opacity = (gdouble) SP_RGBA32_A_F (cnew);
os << "stop-color:" << c << ";stop-opacity:" << opacity <<";";
SP_OBJECT_REPR (newstop)->setAttribute("style", os.str().c_str());
+ sp_repr_set_css_double( SP_OBJECT_REPR(newstop), "offset", (double)newstop->offset);
sp_gradient_vector_widget_load_gradient (vb, gradient);
Inkscape::GC::release(new_stop_repr);