lichtung-plot 0.3.0

Strongly typed scientific plotting with deterministic SVG and PNG output
Documentation
//! Private plot and canvas layout modules.

pub(crate) mod canvas;
mod facet_binding;
pub(crate) mod fit;
pub(crate) mod interior;
pub(crate) mod kernel;
mod length;
mod paint;
pub use length::{GridGap, Insets, Length, LengthUnit};
pub(crate) use length::{GridGapPixels, ResolvedInsets};
pub use paint::{BoundaryRef, PaintBatch, PaintBatchRef, PaintRole};
pub(crate) mod panel;
mod path;
mod place;
mod position;
pub use place::{Anchor, BoxTarget, PlacePoint, RectAxisPosition};
pub(crate) mod recipe;
mod report;
mod report_json;
pub use facet_binding::FacetBinding;
pub use position::PositionComponent;
mod root_geometry;
pub(crate) use path::PanelStep;
pub use path::{MarginalRegion, PanelPath};
pub use report::{
    GridCellReport, GridCellState, InkExtent, LayoutNode, LayoutReport, LayoutRole, Rect, RectRef,
};
pub(crate) mod text;
mod unicode16;

pub(crate) use canvas::{PixelRect, RootFramePlan};
#[cfg(test)]
pub(crate) use kernel::plan_root;
pub(crate) use kernel::{AddressRole, ComponentAddress};
pub(crate) use kernel::{FrozenRoot, MeasuredLayout, RootRequest};
pub(crate) use panel::category_label_span;
pub(crate) use panel::fixed_interval_is_empty;
pub(crate) use panel::format_guide_label;
pub(crate) use panel::layout_axis_ticks;
pub(crate) use panel::AxisTick;
pub(crate) use panel::NumericTickPlan;
pub(crate) use panel::TickSource;
pub(crate) use panel::LABEL_CLEARANCE;
pub(crate) use panel::{anchored_auto_range, continuous_auto_range};
pub(crate) use panel::{
    range_policies, AxisSemanticInputs, CoordinateLayoutInputs, RangePolicy, RangeProvenance,
};
pub(crate) use panel::{
    AuthoredAxisSpec, Axis, AxisSide, AxisSystemPlan, Layout, Projection, RawWindow,
};
pub(crate) use root_geometry::{dpi_to_pixels_per_meter, RootSize};
pub use root_geometry::{PhysicalSize, SizeUnit};
#[allow(unused_imports)]
pub(crate) use text::{
    foundational_plot_requirements, maximum_width_quanta, DeferredAnnotationTextPlan,
    PhysicalTextAlignment, PlannedGlyph, PreparedFontPairRequirement, PreparedTextCensus,
    PreparedTextRequirement, PreparedTextRole, ResolvedTextPlan, ShapedTextRun, TextBlock,
    TextFitMiss, TextLineHeight, TextLinePlan, TextPlanError, TextPlanInput, TextPlanProvenance,
    TextSourceSpan, CSS_PIXEL_QUANTA,
};

pub use crate::canvas::{CanvasCategoryLabels, PanelContent, PanelSlot, ReservedSlot, TextPanel};
pub use crate::significance::FacetCell;
pub use crate::spec::{FacetScales, FacetSpec};
pub use crate::theme::spacing::RelativeSpacing;