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

Method triangle

dep/agg/src/agg2d.cpp:745–753  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

743
744//------------------------------------------------------------------------
745void Agg2D::triangle(double x1, double y1, double x2, double y2, double x3, double y3)
746{
747 m_path.remove_all();
748 m_path.move_to(x1, y1);
749 m_path.line_to(x2, y2);
750 m_path.line_to(x3, y3);
751 m_path.close_polygon();
752 drawPath(FillAndStroke);
753}
754
755
756//------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 4

remove_allMethod · 0.45
move_toMethod · 0.45
line_toMethod · 0.45
close_polygonMethod · 0.45

Tested by

no test coverage detected