logo mwo g2d, commands list
Data types
numbers | point/vector | string | angle | color | geometrical objects | array
Object creators
polar | line | ray | segment | ellipse | brokenline | smoothline | polygon | triangle | square | rectangle | pentagon | hexagon | heptagon | octagon | facet | potato
Drawing objects
draw | dots | dash | fill | filldraw | shadow | background | sky | millimeter
Marks and arrows
mark | arrow
Drawing text
write | name | smartname
The graphical settings
fillcolor | pencolor | penwidth | textjustification | textfont | textsize | textstyle | textcolor | texttilt | smartnamecenter | smartnameoffset | tickcolor | tickpenwidth | ticksize | savestate | restorestate
Operations on numbers and on arrays
cos, sin, tan, arccos, arcsin, arctan, arctan2 | cosh, sinh, tanh, arccosh, arcsinh, arctanh | log, log10, exp, sqr, sqrt, hypot | abs, ceil, floor, trunc, mod, div | erf, erfc, gamma, lgamma
Operations on points or vectors
norm | scalar | determinant | distance
Operations on colors
lighter | darker
Operations on booleans
or | and
Operations on strings
& | letters
Geometrical operations
translate | rotate | intersect | project | parallel | symmetric | bisector | distance
Program control
for | repeat | if | function | global | terminate