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

Method roundedRect

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

Source from the content-addressed store, hash-verified

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}}};
143 }
144
145 static VgCommand
146 roundedRectVarying(Pos p, Size size, float radiusTopLeft, float radiusTopRight, float radiusBottomRight, float radiusBottomLeft) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected