Skip to main content

Crate darkly

Crate darkly 

Source

Modules§

brush
Node-graph composable brush engine.
clipboard
Clipboard system — typed internal clipboard with extensible content types.
config
coord
Typed coordinate spaces.
document
engine
format
.darkly wire-format schema, helpers, and round-trip tests.
gpu
layer
mask
AlphaMask operations — boolean ops, SDF rasterization, feathering.
nodegraph
Domain-agnostic node graph infrastructure.
sdf
Shared signed distance functions for mask rasterization and overlay hit testing.
tile
Sparse tile storage — retained only for the selection system.
tool
tools
transform
Generic 2D transform record — a dependency-free helper.
undo

Constants§

VERSION
Darkly’s version — the latest git tag plus the commit height since it (git describe --tags --long, e.g. v0.3.0-1-gf0c3ea9), baked in by build.rs as DARKLY_VERSION. The single crate-side home for the version; consumers read this, never env!("CARGO_PKG_VERSION") (which is the stale hardcoded Cargo.toml value). See frontend/src/version.ts for the frontend twin that derives its display version from the same git tags.