MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / pixel

Method pixel

pager/pagerctl_mock.py:256–257  ·  view source on GitHub ↗
(self, x, y, color)

Source from the content-addressed store, hash-verified

254 # ------------------------------------------------------------------
255
256 def pixel(self, x, y, color):
257 self._surface.set_at((x, y), _rgb565_to_rgb888(color))
258
259 def fill_rect(self, x, y, w, h, color):
260 pygame.draw.rect(self._surface, _rgb565_to_rgb888(color), (x, y, w, h))

Callers

nothing calls this directly

Calls 1

_rgb565_to_rgb888Function · 0.85

Tested by

no test coverage detected