const Color& SvgStyle::StrokeColor() const { if (StrokeStyle() == SS_NONE) throw SvgException("There is no stroke"); return m_strokeColor; }
StrokeStyle LinePlot::pickNextSS(int idx) { int cid = idx % cvec.size(); int did = idx / cvec.size(); //throw an exception for did>dlist.size() //if possible try (ssidx/clist.size())%dlist.size() // FIXME See above problem. Maybe allow manual dlist add. return StrokeStyle(cvec[cid], .75, dvec[did]); }
/// Get a clear strokestyle static StrokeStyle clear() { return StrokeStyle(Color::CLEAR); };