Clipping to integer pixel axis aligned rects has a very different implementation than arbitrary geometry. It would be nice to be able to expose ctx.clipRect() instead ofctx.rect(); ctx.clip();
Skia and CoreGraphics both expose a clipRect() type function so there's definitely precedence for this kind of thing.
Clipping to integer pixel axis aligned rects has a very different implementation than arbitrary geometry. It would be nice to be able to expose
ctx.clipRect()instead ofctx.rect(); ctx.clip();Skia and CoreGraphics both expose a
clipRect()type function so there's definitely precedence for this kind of thing.