openpencil/tests/engine/render/canvas
Danila Poyarkov c2103ef722
feat(canvas): measure distances between layers (#515)
* feat(canvas): measure distances between layers

- Show temporary Figma-style guides while Option or Alt is held

- Support deep nested targets with Command or Control plus Alt

- Measure transformed world bounds and container padding

* fix(canvas): anchor diagonal measurement guides

- Join diagonal distances at the nearest object corners

- Separate horizontal and vertical value badges

- Crop visual coverage tightly around the measurement overlay

* fix(canvas): cover measurement edge cases

- Draw transformed target outlines and center value pills on guides

- Suppress conflicting hover overlays during measurement mode

- Cover containment, overlap, multi-selection, rotation, and fractional gaps

* fix(canvas): suppress conflicting measurement overlays

- Hide auto-layout hover visuals while distance measurements render

- Assert fractional measurement geometry with numeric tolerance
2026-08-14 18:18:55 +03:00
..
effects fix(fig): restore strict parse validation 2026-07-18 03:58:18 +03:00
visual refactor(fig): own instance interpretation 2026-07-18 02:06:34 +03:00
blend.test.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
boolean-visual.test.ts chore: format codebase 2026-05-24 12:15:29 +03:00
boolean.test.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
cache.test.ts Merge remote-tracking branch 'joey/feature-overlapping-element-analysis-tool' into pr352-local-merge 2026-06-30 09:47:07 +03:00
component-label-text.test.ts fix(canvas): ellipsize frame labels 2026-05-18 03:11:48 +03:00
corner-smoothing.test.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
culling.test.ts fix(fig): preserve component instance rendering 2026-08-10 04:30:06 -03:00
derived-text.test.ts fix(fig): restore strict parse validation 2026-07-18 03:58:18 +03:00
font-readiness.test.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
gradient.test.ts fix(canvas): orient linear gradients like Figma 2026-05-18 03:21:16 +03:00
image-fill.test.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
label-cache.test.ts fix(canvas): hide nested component labels 2026-05-18 03:11:47 +03:00
layout-grids.test.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
line.test.ts fix(fig): preserve imported hug container bounds 2026-05-18 04:20:22 +03:00
masks.test.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
measurement.test.ts feat(canvas): measure distances between layers (#515) 2026-08-14 18:18:55 +03:00
page-guides.test.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
raster-export.test.ts fix(fig): preserve component instance rendering 2026-08-10 04:30:06 -03:00
renderer-lifecycle.test.ts chore: format codebase 2026-05-24 12:15:29 +03:00
retained-backing.test.ts fix(fig): address instance rendering review 2026-08-10 05:09:03 -03:00
schema-fill-fallback.test.ts fix(fig): preserve multi-color vector fills 2026-07-28 11:45:58 +03:00
silhouette-autopsy.test.ts refactor(fig): own NodeChange export policy 2026-07-18 02:41:35 +03:00
text-font-variations.test.ts fix(canvas): render Figma leading trim 2026-05-26 16:23:59 +03:00
text.test.ts fix(text): center glyphs within line height (#422) 2026-07-25 23:52:01 +03:00
variable-modes.test.ts fix(fig): honor node-scoped variable modes 2026-07-21 00:23:00 +03:00