MCPcopy Create free account
hub / github.com/Tom94/tev / arc

Method arc

include/tev/VectorGraphics.h:127–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 static VgCommand arcTo(Pos p1, Pos p2, float radius) { return {EType::ArcTo, {{p1.x, p1.y, p2.x, p2.y, radius}}}; }
126
127 static VgCommand arc(Pos center, float radius, float angle_begin, float angle_end, EWinding winding) {
128 return {EType::Arc, {{center.x, center.y, radius, angle_begin, angle_end, (float)(int)winding}}};
129 }
130
131 static VgCommand bezierTo(Pos c1, Pos c2, Pos p) { return {EType::BezierTo, {{c1.x, c1.y, c2.x, c2.y, p.x, p.y}}}; }
132

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected