Skip to main content

Module block

Module block 

Source

Structs§

BlockLayout
Computed layout for a single block (paragraph).
BlockLayoutParams
Parameters extracted from text-document’s BlockFormat / TextFormat. This is a plain struct so block layout doesn’t depend on text-document types.
FragmentParams
A text fragment with its formatting parameters.
ShapedListMarker
A shaped list marker ready for rendering.

Functions§

layout_block
Lay out a single block: resolve fonts, shape fragments, break into lines.