コード例 #1
0
ファイル: SvgStyle.cpp プロジェクト: mikhtonyuk/3DEngine
			const Color& SvgStyle::StrokeColor() const
			{
				if (StrokeStyle() == SS_NONE)
					throw SvgException("There is no stroke");

				return m_strokeColor;
			}
コード例 #2
0
ファイル: LinePlot.cpp プロジェクト: etschneider/GPSTk
  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); };