MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / chip

Function chip

experiments/human_eval/draw_error_analysis_single_case.py:62–64  ·  view source on GitHub ↗
(page: fitz.Page, x: float, y: float, w: float, h: float, label: str, fill, stroke, color=TEXT)

Source from the content-addressed store, hash-verified

60
61
62def chip(page: fitz.Page, x: float, y: float, w: float, h: float, label: str, fill, stroke, color=TEXT) -> None:
63 rect(page, (x, y, x + w, y + h), fill=fill, stroke=stroke, width=0.55)
64 text(page, (x + 2, y + 2, x + w - 2, y + h + 4), label, 10.8, color=color)
65
66
67def arrow(page: fitz.Page, x1: float, y: float, x2: float) -> None:

Callers 1

draw_panel_1Function · 0.85

Calls 2

rectFunction · 0.85
textFunction · 0.85

Tested by

no test coverage detected