The OpenD Programming Language

Path.asCubics

emits cubic beziers. if withMoveTo is false, issue 8-arg commands for cubic beziers (i.e. include starting point). if withMoveTo is true, issue 2-arg command for moveTo, and 6-arg command for cubic beziers.

struct Path
inout
void
asCubics
(
bool withMoveTo = false
DG
)
(
scope DG dg
)
if (
__traits(compiles,
()
)
)

Meta