Files
craft-libs/crates/draw/src/lib.rs
T

28 lines
857 B
Rust

//! Vector and shape tools: gradient editing, the Pen and path editing, strokes and corners, shapes, slices, artboards and connectors, Crop and Perspective Crop, Free Transform, measure, symmetry and brush presets.
#![warn(missing_docs)]
pub mod geometry;
pub mod stroke;
#[cfg(feature = "ui")]
pub mod ui;
#[cfg(feature = "screen-testing")]
pub mod testing {
//! The registrations of this crate's stories, for the `tests/it` harness.
#[cfg(feature = "suite")]
craft_ui::registry!();
}
#[cfg(all(test, feature = "screen-testing"))]
extern crate self as craft_draw;
#[cfg(all(test, feature = "screen-testing"))]
#[path = "../tests/it/main.rs"]
pub(crate) mod integration;
#[cfg(test)]
fn main() {
craft_ui::registry!();
craft_ui::testing::run(module_path!(), env!("CARGO_PKG_NAME"), &craft_ui::testing::Registry::of(&[register]));
}