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

				return m_strokeColor;
			}
예제 #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]);
  }
예제 #3
0
파일: StrokeStyle.hpp 프로젝트: PPNav/GPSTk
 /// Get a clear strokestyle
 static StrokeStyle clear() { return StrokeStyle(Color::CLEAR); };