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

Method draw_image

pager/pagerctl.py:625–628  ·  view source on GitHub ↗

Draw a loaded image at position.

(self, x, y, handle)

Source from the content-addressed store, hash-verified

623 _lib.pager_free_image(handle)
624
625 def draw_image(self, x, y, handle):
626 """Draw a loaded image at position."""
627 if handle:
628 _lib.pager_draw_image(x, y, handle)
629
630 def draw_image_scaled(self, x, y, w, h, handle):
631 """Draw a loaded image scaled to fit w x h."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected