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

Method draw_char

tests/test_pager_code.py:229–231  ·  view source on GitHub ↗

Draw a single character. Returns width.

(self, x, y, char, color, size=1)

Source from the content-addressed store, hash-verified

227
228 # ========== TEXT (BUILT-IN FONT) ==========
229 def draw_char(self, x, y, char, color, size=1):
230 """Draw a single character. Returns width."""
231 return 5 * size
232
233 def draw_text(self, x, y, text, color, size=1):
234 """Draw text at position. Returns width."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected