Lines Matching defs:stop
2 * @gradient stop class.
17 #include "sp-stop.h"
43 this->readAttr( "stop-color" );
44 this->readAttr( "stop-opacity" );
50 * Virtual build: set stop attributes from its associated XML node.
64 * stop-color and stop-opacity properties.
67 gchar const *p = this->getStyleProperty( "stop-color", "black");
75 gchar const *p = this->getStyleProperty( "stop-opacity", "1");
84 gchar const *p = this->getStyleProperty( "stop-color", "black");
97 gchar const *p = this->getStyleProperty( "stop-opacity", "1");
134 repr = xml_doc->createElement("svg:stop");
142 // Since we do a hackish style setting here (because SPStyle does not support stop-color and
143 // stop-opacity), we must do it AFTER calling the parent write method; otherwise
147 os << "stop-color:";
153 os << ";stop-opacity:" << opacity;
155 repr->setAttribute("stop-color", NULL);
156 repr->setAttribute("stop-opacity", NULL);
168 // A stop might have some non-stop siblings
187 SPStop* stop = SP_STOP(obj);
189 if (stop->getNextStop() == this) {
190 result = stop;
231 * Return stop's color as 32bit value.