1pub mod annotation;
29pub mod bmp;
30pub mod color;
31pub mod dispatch;
32pub mod docs;
33pub mod facet;
34pub mod layout;
35pub mod legend;
36pub mod png_export;
37pub mod raster;
38pub mod render;
39pub mod scene;
40pub mod spec;
41pub mod stats;
42pub mod svg;
43pub mod text;
44pub mod theme;
45
46pub use annotation::Annotation;
48pub use color::Color;
49pub use render::build_scene;
50pub use scene::Scene;
51pub use spec::PlotSpec;
52pub use svg::render_svg;
53pub use bmp::render_bmp;
54pub use theme::Theme;
55
56use crate::docs::{VIZOR_BUILTIN_NAMES, VIZOR_METHOD_NAMES};
57
58pub struct VizorLibrary;
60
61impl cjc_runtime::lib_registry::CjcLibrary for VizorLibrary {
62 fn name(&self) -> &'static str { "vizor" }
63 fn version(&self) -> &'static str { "0.1.0" }
64 fn builtin_names(&self) -> &[&'static str] { VIZOR_BUILTIN_NAMES }
65 fn method_names(&self) -> &[&'static str] { VIZOR_METHOD_NAMES }
66 fn value_type_names(&self) -> &[&'static str] { &["VizorPlot"] }
67}