• Joined on 2024-03-30
kohsine pushed to feature/put_pixel at kohsine/Core 2024-04-01 00:46:55 +02:00
af1c36b894 dark example
kohsine commented on pull request Rust/Core#9 2024-03-31 23:46:29 +02:00
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

kohsine commented on pull request Rust/Core#9 2024-03-31 23:43:46 +02:00
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.

kohsine commented on pull request Rust/Core#9 2024-03-31 19:06:53 +02:00
feat: put_pixel

The rectangle API can't invert colors though. My example does show the color inversion working.

kohsine commented on pull request Rust/Core#9 2024-03-31 19:00:35 +02:00
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…

kohsine created pull request Rust/Core#9 2024-03-30 23:21:55 +01:00
feat: put_pixel
kohsine created branch feature/put_pixel in kohsine/Core 2024-03-30 23:19:30 +01:00
kohsine pushed to feature/put_pixel at kohsine/Core 2024-03-30 23:19:30 +01:00
27ea16d171 feat: put_pixel
kohsine created repository kohsine/Core 2024-03-30 22:30:10 +01:00