Raxol.UI.CellManager (Raxol v2.6.0)

View Source

Handles cell operations, clipping, merging, and coordinate management.

Summary

Functions

Clips cells to specified bounds.

Clips coordinates to valid bounds.

Filters out cells with invalid coordinates.

Merges two cell lists, with the second list taking precedence at overlapping coordinates.

Functions

clip_cells_to_bounds(cells, arg2)

Clips cells to specified bounds.

clip_coordinates(x, y, width, height)

Clips coordinates to valid bounds.

ensure_list(value)

See Raxol.Core.Utils.List.ensure_list/1.

filter_valid_cells(cells)

Filters out cells with invalid coordinates.

merge_cells(base_cells, overlay_cells)

Merges two cell lists, with the second list taking precedence at overlapping coordinates.