MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / polygon

Method polygon

dep/agg/src/agg2d.cpp:882–889  ·  view source on GitHub ↗

------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

880
881//------------------------------------------------------------------------
882void Agg2D::polygon(double* xy, int numPoints)
883{
884 m_path.remove_all();
885 //m_path.add_poly(xy, numPoints);
886 m_path.concat_poly(xy,0,true); // JME
887 closePolygon();
888 drawPath(FillAndStroke);
889}
890
891
892//------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

concat_polyMethod · 0.80
remove_allMethod · 0.45

Tested by

no test coverage detected