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

Method draw_image

pager/test_pager_code.py:406–409  ·  view source on GitHub ↗

Draw loaded image at position.

(self, x, y, handle)

Source from the content-addressed store, hash-verified

404 del self._loaded_images[handle]
405
406 def draw_image(self, x, y, handle):
407 """Draw loaded image at position."""
408 if VERBOSE and handle in self._loaded_images:
409 print(f"[MockPager] draw_image({x}, {y}, '{os.path.basename(self._loaded_images[handle])}')")
410
411 def draw_image_scaled(self, x, y, w, h, handle):
412 """Draw loaded image scaled to size."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected