2022-03-01 18:19:35 +09:00
|
|
|
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;
|
|
|
|
|
2022-03-01 19:40:19 +09:00
|
|
|
// drawRect(fill, x0, y0, x1, y1)
|
2022-03-01 19:12:17 +09:00
|
|
|
// drawRect(fill, stroke, x0, y0, x1, y1, resetMtx=true)
|
2022-03-01 19:40:19 +09:00
|
|
|
builtin drawRect(fill, x0, y0, x1, y1, ...);
|
2022-03-01 18:19:35 +09:00
|
|
|
var const FILL_NONE = 0;
|
|
|
|
var const STROKE_NONE = 0;
|
|
|
|
|
|
|
|
builtin setLineWidth(lw);
|