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

Method pixel

pager/pagerctl.py:360–362  ·  view source on GitHub ↗

Set a single pixel.

(self, x, y, color)

Source from the content-addressed store, hash-verified

358
359 # Drawing primitives
360 def pixel(self, x, y, color):
361 """Set a single pixel."""
362 _lib.pager_set_pixel(x, y, color)
363
364 def fill_rect(self, x, y, w, h, color):
365 """Draw a filled rectangle."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected