Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/endbasic/endbasic
/ set_pixel
Method
set_pixel
std/src/console/drawing.rs:474–476 ·
view source on GitHub ↗
(&mut self, xy: PixelsXY, color: Option<u8>)
Source
from the content-addressed store, hash-verified
472
473
impl RecordingRasops {
474
pub(crate) fn set_pixel(&mut self, xy: PixelsXY, color: Option<u8>) {
475
self.pixels.insert(xy, color);
476
}
477
}
478
479
impl RasterOps for RecordingRasops {
Callers
4
draw_pixel
Method · 0.80
test_bucket_fill_connected_region
Function · 0.80
test_bucket_fill_diagonal_is_not_connected
Function · 0.80
test_bucket_fill_same_color_is_noop
Function · 0.80
Calls
1
insert
Method · 0.45
Tested by
3
test_bucket_fill_connected_region
Function · 0.64
test_bucket_fill_diagonal_is_not_connected
Function · 0.64
test_bucket_fill_same_color_is_noop
Function · 0.64