Exemple #1
0
			const Color& SvgStyle::StrokeColor() const
			{
				if (StrokeStyle() == SS_NONE)
					throw SvgException("There is no stroke");

				return m_strokeColor;
			}
Exemple #2
0
  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]);
  }
Exemple #3
0
 /// Get a clear strokestyle
 static StrokeStyle clear() { return StrokeStyle(Color::CLEAR); };