hotfix2 mark drawRect#stroke as optional

This commit is contained in:
sup39 2022-03-01 19:40:19 +09:00
parent 9b77e8c62b
commit 31386db681
2 changed files with 3 additions and 2 deletions

View file

@ -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);

View file

@ -13,8 +13,9 @@ 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, stroke, x0, y0, x1, y1, ...);
builtin drawRect(fill, x0, y0, x1, y1, ...);
var const FILL_NONE = 0;
var const STROKE_NONE = 0;