Skip to main content

Crate renamite_behavior_common

Crate renamite_behavior_common 

Source
Expand description

Shared context for tool behaviors: selection, view transform, snapping.

Modules§

assets
color
Pure HSV <-> RGB conversion and a bounded recent-swatches ring buffer. No UI dependencies.
context_menu
Context-menu models and command builders. Pure.
fill
Helpers for finding and editing the style node that paints a shape.
inspect
Property inspector: descriptors, diamond state, edit commands.
layers
Pure layer-list helpers: tree flatten, drop targets, command builders.
machine
Pure state-machine authoring helpers.
modifiers
Command builders for adding shape modifiers to a group.
path
Helpers for editing animated paths at the correct frame.
stroke
Pure command builders for stroke dash structure.

Structs§

Modifiers
Selection
SnapConfig
ToolContext
ViewTransform
Screen ↔ world mapping. Px tolerance in world units.