Compare commits
3 commits
v1.2.1-sup
...
master
Author | SHA1 | Date | |
---|---|---|---|
31386db681 | |||
9b77e8c62b | |||
7d7bcf9955 |
2 changed files with 23 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
builtin drawText(x, y, fontSize, colorTop, colorBot, fmt, ...);
|
||||
builtin drawRect(fill, stroke, x0, y0, x1, y1);
|
||||
builtin drawRect(fill, x0, y0, x1, y1);
|
||||
|
|
22
stdlib-sup39/draw.sun
Normal file
22
stdlib-sup39/draw.sun
Normal file
|
@ -0,0 +1,22 @@
|
|||
builtin drawText(x, y, size, colorTop, colorBot, fmt, ...);
|
||||
|
||||
// drawNgon(fill, stroke, n, angle=0)
|
||||
builtin drawNgon(fill, stroke, n, ...);
|
||||
|
||||
// setMTX(dst)
|
||||
// setMTX(dst, src)
|
||||
// setMTX(dst, src, dx, dy)
|
||||
// setMTX(dst, src, SS, dx, dy)
|
||||
// setMTX(dst, src, xx, yy, dx, dy)
|
||||
// setMTX(dst, src, xx, xy, yx, yy, dx, dy)
|
||||
builtin setMTX(dst, ...);
|
||||
var const MTX_LOADIMM = 0;
|
||||
var const MTX_NEW = 0;
|
||||
|
||||
// drawRect(fill, x0, y0, x1, y1)
|
||||
// drawRect(fill, stroke, x0, y0, x1, y1, resetMtx=true)
|
||||
builtin drawRect(fill, x0, y0, x1, y1, ...);
|
||||
var const FILL_NONE = 0;
|
||||
var const STROKE_NONE = 0;
|
||||
|
||||
builtin setLineWidth(lw);
|
Loading…
Reference in a new issue