measure_all_tags: Measure every drawable tag inside 'tags_grob' against the...

View source: R/tag-grobs.R

measure_all_tagsR Documentation

Measure every drawable tag inside tags_grob against the current viewport. Returns parallel vectors of combo / width / height suitable for handing to place_euler_labels(), plus the resolved leader gap in native units (so the FFI sees one number per draw pass).

Description

Measure every drawable tag inside tags_grob against the current viewport. Returns parallel vectors of combo / width / height suitable for handing to place_euler_labels(), plus the resolved leader gap in native units (so the FFI sees one number per draw pass).

Usage

measure_all_tags(tags_grob, padding, gap = NULL)

eulerr documentation built on May 30, 2026, 1:07 a.m.