Skip to main content

cellix_render/
lib.rs

1//! The cell grid every Cellix view draws to. Backends only present a grid, so every
2//! feature works on the text-cell tier and the pixel tiers alike.
3
4mod grid;
5mod icon;
6mod measure;
7mod paint;
8mod raster;
9pub mod spinner;
10
11pub use grid::{
12    Cell, FIELD_AIR, GLYPH, GLYPH_LEAD, Grid, Rect, Rgb, Run, SMALL_GLYPH, Style, WORDS_BASELINE,
13    air_under_button, button_in_row, on_large_button, row_button_in_row,
14};
15pub use icon::{Icon, Piece, inked};
16pub use measure::{CellMeasure, EMOJI_AIR, Font, FontMeasure, Measure};
17pub use paint::{
18    ALL_CORNERS, BOTTOM_LEFT, BOTTOM_RIGHT, Bitmap, Bounds, Paint, Pixels, Strip, TOP_LEFT,
19    TOP_RIGHT, UNIT, units,
20};
21pub use raster::{
22    INTERFACE_SIZE, Image, Rasterizer, SoftwareRasterizer, built_in_emoji_holds, inset, stood,
23};