Expand description
§esoc-gfx
Low-level 2D vector graphics engine for esoc-chart. SVG output with zero dependencies; optional PNG via resvg.
Modules§
- backend
- Render backends for converting a Canvas to output formats.
- canvas
- Layered drawing surface that collects elements and defs.
- color
- Color representation with RGBA channels and hex parsing.
- element
- SVG elements that make up a canvas.
- error
- Error types for esoc-gfx.
- geom
- Geometric primitives: Point, Rect, Size.
- layer
- Rendering layers for z-ordering elements.
- palette
- Color palettes for data visualization.
- path
- SVG path construction.
- prelude
- Convenience re-exports.
- scene_
svg - SVG backend that consumes a
SceneGraphfrom esoc-scene. - style
- Stroke, fill, and text styling.
- text
- Text measurement heuristics for chart label layout.
- transform
- Coordinate transforms: data space → normalized → pixel space.