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

Method fill_rect

pager/pagerctl_mock.py:259–260  ·  view source on GitHub ↗
(self, x, y, w, h, color)

Source from the content-addressed store, hash-verified

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))
261
262 def rect(self, x, y, w, h, color):
263 pygame.draw.rect(self._surface, _rgb565_to_rgb888(color), (x, y, w, h), 1)

Callers

nothing calls this directly

Calls 2

_rgb565_to_rgb888Function · 0.85
rectMethod · 0.45

Tested by

no test coverage detected