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

Method rect

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

Source from the content-addressed store, hash-verified

137 static VgCommand quadTo(Pos c, Pos p) { return {EType::QuadTo, {{c.x, c.y, p.x, p.y}}}; }
138
139 static VgCommand rect(Pos p, Size size) { return {EType::Rect, {{p.x, p.y, size.width, size.height}}}; }
140
141 static VgCommand roundedRect(Pos p, Size size, float radius) {
142 return {EType::RoundedRect, {{p.x, p.y, size.width, size.height, radius}}};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected