dc_layout

Crates.iodc_layout
lib.rsdc_layout
version0.37.2
created_at2025-04-24 20:46:32.35837+00
updated_at2025-07-18 21:08:47.719208+00
descriptionFigma node layout library for Android
homepagehttps://google.github.io/automotive-design-compose
repositoryhttps://github.com/google/automotive-design-compose
max_upload_size
id1647980
size66,068
Marcell Kovacs (kovmarci86)

documentation

README

dc_layout crate

This crate provides layout functionalities for DesignCompose.

Functionality

The dc_layout crate is responsible for:

  • Calculating the position and size of elements in a design.
  • Managing the layout of views and components.
  • Converting design specifications into a format that can be used for rendering.

Usage

This crate is primarily used internally by DesignCompose for calculating layout.

Dependencies

This crate depends on the following crates:

  • dc_bundle: Used to hold the design document structures of a design.
  • taffy: Used to perform the layout computation.

License

Licensed under the Apache License, Version 2.0. See LICENSE for details.

Commit count: 1243

cargo fmt