Single placement pass: measure tags, call the Rust FFI, return the placement records and the canvas bbox returned by eunoia.
run_placement_pass(
centers,
container_data,
shapes,
labels_gp,
quantities_gp,
annotations_gp,
padding,
placement_opts,
do_complement_label,
xlim,
ylim,
n_vertices,
label_precision
)the per-region tag data frame from setup_geometry()
the complement (container) region's data
the diagram's $shapes data frame
per-component
grid::gpar() lists
vertical separation between tag components, as a
grid::unit()
resolved placement options; see
resolve_placement_opts()
whether the complement gets a tag too
native scales of the measurement viewport
number of vertices used to discretize each shape
number of decimals used when rendering quantities