Block a user
feat: put_pixel
Hm, there are two another options: draw a pixel with given color or invert, so better do inversion if
color
is null
Ya I like this
feat: put_pixel
Ok let me write a better example. I admit the square example was kind of low effort. I'm thinking a wall of text and I invert the colors to show off a kind of basic dark mode.
feat: put_pixel
The rectangle API can't invert colors though. My example does show the color inversion working.
feat: put_pixel
Strange, my rust-analyzer isn't warning me about unused imports. Also didn't know there was a rectangle API. Guess drawing a line would be redundant too then. Would a circle be better then? Or…