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

Method draw_number

pager/pagerctl.py:409–411  ·  view source on GitHub ↗

Draw a number. Returns width.

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

Source from the content-addressed store, hash-verified

407 return _lib.pager_text_width(text.encode(), size)
408
409 def draw_number(self, x, y, num, color, size=1):
410 """Draw a number. Returns width."""
411 return _lib.pager_draw_number(x, y, num, color, size)
412
413 # TTF text
414 def draw_ttf(self, x, y, text, color, font_path, font_size):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected