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

Method addEllipse

dep/agg/src/agg2d.cpp:1058–1064  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1056
1057//------------------------------------------------------------------------
1058void Agg2D::addEllipse(double cx, double cy, double rx, double ry, Direction dir)
1059{
1060 agg::bezier_arc arc(cx, cy, rx, ry, 0, (dir == CCW) ? 2*pi() : -2*pi());
1061 //m_path.add_path(arc, 0, false);
1062 m_path.concat_path(arc,0); // JME
1063 m_path.close_polygon();
1064}
1065
1066//------------------------------------------------------------------------
1067void Agg2D::text(double x, double y, const std::string& text)

Callers

nothing calls this directly

Calls 2

concat_pathMethod · 0.80
close_polygonMethod · 0.45

Tested by

no test coverage detected