mirror of
https://github.com/typst/typst
synced 2025-05-16 10:05:28 +08:00
31 lines
824 B
Rust
31 lines
824 B
Rust
//! Typst's layout engine.
|
|
|
|
mod flow;
|
|
mod grid;
|
|
mod image;
|
|
mod inline;
|
|
mod lists;
|
|
mod math;
|
|
mod modifiers;
|
|
mod pad;
|
|
mod pages;
|
|
mod repeat;
|
|
mod shapes;
|
|
mod stack;
|
|
mod transforms;
|
|
|
|
pub use self::flow::{layout_columns, layout_fragment, layout_frame};
|
|
pub use self::grid::{layout_grid, layout_table};
|
|
pub use self::image::layout_image;
|
|
pub use self::lists::{layout_enum, layout_list};
|
|
pub use self::math::{layout_equation_block, layout_equation_inline};
|
|
pub use self::pad::layout_pad;
|
|
pub use self::pages::layout_document;
|
|
pub use self::repeat::layout_repeat;
|
|
pub use self::shapes::{
|
|
layout_circle, layout_curve, layout_ellipse, layout_line, layout_path,
|
|
layout_polygon, layout_rect, layout_square,
|
|
};
|
|
pub use self::stack::layout_stack;
|
|
pub use self::transforms::{layout_move, layout_rotate, layout_scale, layout_skew};
|