summaryrefslogtreecommitdiffstats
path: root/src/object/sp-stop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-stop.h')
-rw-r--r--src/object/sp-stop.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/object/sp-stop.h b/src/object/sp-stop.h
index a82775b6a..aef7bb180 100644
--- a/src/object/sp-stop.h
+++ b/src/object/sp-stop.h
@@ -31,25 +31,14 @@ public:
bool currentColor;
- /** \note
- * N.B.\ Meaningless if currentColor is true. Use sp_stop_get_rgba32 or sp_stop_get_color
- * (currently static in sp-gradient.cpp) if you want the effective color.
- */
- SPColor specified_color;
-
- /// \todo fixme: Implement SPSVGNumber or something similar.
- float opacity;
-
Glib::ustring * path_string;
//SPCurve path;
- static SPColor readStopColor( Glib::ustring const &styleStr, guint32 dfl = 0 );
-
SPStop* getNextStop();
SPStop* getPrevStop();
- SPColor getEffectiveColor() const;
-
+ SPColor getColor() const;
+ gfloat getOpacity() const;
guint32 get_rgba32() const;
protected: