Skip to main content

Module path_storage

Module path_storage 

Source
Expand description

Path storage — the primary vertex container for AGG.

Port of agg_path_storage.h — stores vertices with path commands. Uses Vec<VertexD> instead of C++’s block-based vertex_block_storage since Rust’s Vec already provides amortized O(1) push.

Structs§

LineAdaptor
Adaptor for a single line segment as a VertexSource.
PathStorage
Path storage — the main vertex container.
PolyPlainAdaptor
Adaptor that wraps a flat slice of coordinates [x0, y0, x1, y1, ...] as a VertexSource.