Pdf.Layout.AbsoluteMeasure (ex_pdf_components v1.0.4)

Copy Markdown View Source

Measures the minimum inner height for a box with absolutely-positioned children.

Like CSS height: auto on a positioned container: walk children, find the lowest bottom edge (relative to the inner area top), and return that height.

Summary

Functions

Returns the minimum inner content height in points.

Height of a weighted row's tallest column.

Functions

measure(children, inner_width, doc \\ nil)

@spec measure(list(), number(), any()) :: number()

Returns the minimum inner content height in points.

row_height(children, inner_w, gap \\ 0, doc \\ nil)

@spec row_height(list(), number(), number(), any()) :: number()

Height of a weighted row's tallest column.