Expand description
Platform-free core for pixelcoords: geometry, selections, session schema, point verdicts, code emitters, template relocation, hotkey grammar, config, bitmap font, and CPU rasterizer.
Modules§
- config
- Configuration types (serde) and their resolution into validated values.
- draw
- CPU rasterizer: shapes, text, and label placement into a
u32pixel buffer (0x00RRGGBB, softbuffer’s format), plus the alpha mask applied to circle crops. Everything clips to the buffer — drawing partially or fully off-buffer is safe and silent. - emit
- Ready-to-paste click snippets from a session — the logic behind
pixelcoords emit. - font
- Embedded vector font — antialiased text for the overlay.
- geometry
- Shapes and their interaction math, in monitor-local physical pixels.
- hotkeys
- Hotkey binding grammar:
KEY=ACTION[,EDGE][,WHEN]. - locate
- Template relocation: find where a saved crop sits in a fresh capture —
the logic behind
pixelcoords find. - matcher
- Window-target matching for
--target: given the windows visible at freeze time, deterministically pick the one the query means. - selection
- The set of committed selections plus per-op undo and redo stacks.
- session
- The versioned
session.jsonschema. - strings
- User-facing overlay strings. Everything the overlay renders as text
comes from here so a language table can replace
ENlater without a refactor. ASCII only — the embedded font covers printable ASCII. - verdict
- Point-in-region verdicts against a saved session — the logic behind
pixelcoords assert.