Loupe/src
Lazzexus 2ce31a1a30 Add image annotation / drawing mode
Adds a draw mode toggle (pencil icon, shortcut D) that reveals a
bottom toolbar with freeform pen and shape tools (rectangle, ellipse,
triangle, star), a colour picker, line-width spinner, undo (Ctrl+Z),
clear-all, and a "Save Copy…" button that exports a flattened PNG.

Copying to clipboard (Ctrl+C) also flattens the annotations when any
strokes are present. Strokes are stored in image-pixel coordinates and
rendered via a Cairo overlay in the snapshot pipeline, so they remain
correctly positioned during zoom and pan.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-18 09:38:31 +02:00
..
decoder src: Update copyright info 2026-06-29 13:34:19 +02:00
editing Release 51.beta 2026-07-31 13:53:43 +02:00
metadata metadata: Drop unreliable mime-type 2025-12-03 22:41:24 +01:00
util Update copyright comments 2026-02-27 21:03:02 +01:00
widgets Add image annotation / drawing mode 2026-09-18 09:38:31 +02:00
about.rs cargo: Update deps 2026-01-29 23:59:58 +01:00
application.rs src: Update copyright info 2026-06-29 13:34:19 +02:00
config.rs meson: Don't mangle profile and app id suffix 2024-09-27 21:22:52 +02:00
decoder.rs cargo: Update to glycin 4.0.0-alpha 2026-06-25 21:22:23 +02:00
editing.rs Use tracing for logging 2025-12-18 23:15:46 +01:00
file_model.rs Release 51.0 2026-09-09 14:06:14 +02:00
lib.rs cargo: Update deps 2026-08-26 18:17:48 +02:00
main.rs util/gettext: Parse unicode escape sequences 2024-07-17 19:33:52 +02:00
meson.build src/meson: pass cargo_env to cargo-test 2026-08-31 20:20:08 +08:00
metadata.rs image_view: Handle target file gone correctly 2026-08-06 13:47:39 +02:00
util.rs Release 51.beta 2026-07-31 13:53:43 +02:00
widgets.rs properties: Remove usage of breakpoints 2024-12-22 20:27:33 +01:00