Eunoia.place_glyph_boxes
Julia · julia · 1.0.1
Methods
place_glyph_boxes(
fit::AbstractEulerFit,
sizes::AbstractDict;
arrangement::Union{Nothing, AbstractString} = nothing,
scale::Union{Nothing, Real} = nothing,
min_scale::Union{Nothing, Real} = nothing,
gap::Union{Nothing, Real} = nothing,
seed::Union{Nothing, Integer} = nothing,
precision::Union{Nothing, Real} = nothing,
max_attempts::Union{Nothing, Integer} = nothing,
obstacles::Union{Nothing, AbstractVector} = nothing
)
Source: src/Eunoia.jl
-> Pack ordered, caller-measured member-label boxes inside fitted regions. sizes maps each canonical region combination to a vector of (width, height) pairs. The returned boxes are a prefix aligned with each input vector; render the corresponding text at the reference font size multiplied by scale.
