geometry-io-svg 0.0.2

SVG output for Cartesian geometries — a debugging convenience.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! SVG output for Cartesian geometries — a debugging convenience.
//!
//! Mirrors `boost/geometry/io/svg/svg_mapper.hpp`. Cartesian only: an
//! [`SvgMapper`] accumulates geometries, tracks their combined bounding
//! box, and emits a self-contained `<svg>` document mapping world
//! coordinates to a fixed pixel canvas (y flipped, since SVG y grows
//! downward).

#![cfg_attr(not(feature = "std"), no_std)]
#![forbid(unsafe_code)]

extern crate alloc;

mod mapper;

pub use mapper::SvgMapper;