1#![forbid(unsafe_code)]
9
10pub mod align;
11pub mod bonds;
12pub mod colormap;
13pub mod depict;
14pub mod elements;
15#[cfg(feature = "elk")]
16pub mod elk;
17pub mod font;
18pub mod geom;
19#[cfg(feature = "font")]
20pub mod labels;
21#[cfg(feature = "font")]
22pub mod markup;
23pub mod metrics;
24pub mod plotdot;
25pub mod rings;
26pub mod scene;
27
28pub use align::{kabsch_2d, rigid_align_coords, RigidTransform};
29pub use bonds::{
30 bond_paths, bond_strokes, centered_displacements, depict_order, join_centered_multibonds,
31 line_intersect, multi_bond_offset, BondStrokes, DrawnBond, StrokePath,
32};
33pub use colormap::{colormap_rgb, sample_colormap, XENOSITE};
34pub use depict::depict_molecule;
35pub use elements::{atomic_number, element_symbol, SYMBOLS};
36#[cfg(feature = "elk")]
37pub use elk::layout_json as elk_layout_json;
38pub use geom::{capsule_halo_path_d, disk_halo_path_d, polygon_to_svg_d};
39#[cfg(feature = "font")]
40pub use labels::{
41 compose_label, label_side, place_backbone, place_label, shorten_bond, split_label, AtomIn,
42 BondIn, BondOut, LabelParts, LabelSide, PlacedLabel,
43};
44#[cfg(feature = "font")]
45pub use markup::parse_label_markup;
46pub use metrics::{BOND_PX, OFFSET_FRAC, OFFSET_PX, SCALE, SHADE_FRAC, STROKE_PX};
47pub use plotdot::{PlotDot, ShadeDisk};
48pub use rings::{apply_ring_interiors, bond_interior_normals, find_sssr, Ring};
49pub use scene::{Layer, LayerName, MoleculeIn, Primitive, Scene, TextAnchor, Viewport};
50