MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / make_text_box

Function make_text_box

PosterAgent/tree_split_layout.py:356–365  ·  view source on GitHub ↗
(panel_id, x, y, width, height, textbox_id, textbox_name)

Source from the content-addressed store, hash-verified

354 # Helper to build a text‑box dict
355 # -------------------------------------------------------
356 def make_text_box(panel_id, x, y, width, height, textbox_id, textbox_name):
357 return {
358 "panel_id": panel_id,
359 "x": float(x),
360 "y": float(y),
361 "width": float(width),
362 "height": float(height),
363 "textbox_id": textbox_id,
364 "textbox_name": textbox_name,
365 }
366
367 # -----------------------------------------------------------------------
368 # Case 1 — no figure in this panel

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected