pub fn layout_rect(
elem: &Packed<RectElem>,
engine: &mut Engine<'_>,
locator: Locator<'_>,
styles: StyleChain<'_>,
region: Region,
) -> SourceResult<Frame>
Expand description
Lay out the rectangle.
pub fn layout_rect(
elem: &Packed<RectElem>,
engine: &mut Engine<'_>,
locator: Locator<'_>,
styles: StyleChain<'_>,
region: Region,
) -> SourceResult<Frame>
Lay out the rectangle.