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

Function rect

experiments/human_eval/draw_error_analysis_single_case.py:42–43  ·  view source on GitHub ↗
(page: fitz.Page, box: tuple[float, float, float, float], fill, stroke=None, width: float = 0.7)

Source from the content-addressed store, hash-verified

40
41
42def rect(page: fitz.Page, box: tuple[float, float, float, float], fill, stroke=None, width: float = 0.7) -> None:
43 page.draw_rect(fitz.Rect(*box), color=stroke, fill=fill, width=width)
44
45
46def text(

Callers 5

chipFunction · 0.85
draw_panel_1Function · 0.85
draw_panel_2Function · 0.85
draw_panel_3Function · 0.85
draw_figureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected