<a id="Eunoia.place_glyph_boxes"></a>

<a id="Eunoia.place_glyph_boxes-Tuple{Eunoia.AbstractEulerFit, AbstractDict}"></a>

# Eunoia.place\_glyph\_boxes

Julia · 1.0.1

[Source](<https://github.com/jolars/Eunoia.jl/blob/db1275ffc768591b8c9271c56d8dfa2f3351bfcd/src/Eunoia.jl>)

```julia
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
)
```

<a id="methods"></a>

## Methods

<a id="method-f2d25f9de22acd7c5aafdb928e9e7d261eda0509235d4f018ba079b2e255fe5b"></a>

### `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](<https://github.com/jolars/Eunoia.jl/blob/db1275ffc768591b8c9271c56d8dfa2f3351bfcd/src/Eunoia.jl>)

```julia
place_glyph_boxes(fit, sizes; arrangement=nothing, scale=nothing,
                  min_scale=nothing, gap=nothing, seed=nothing,
                  precision=nothing, max_attempts=nothing,
                  obstacles=nothing) -> GlyphBoxPlacements
```

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`.
