vectorcraft/crates/svg/tests
bflatastic 44c7e64e1b Fix #442: alike circular corners on rectangles that aren't square
Live rectangles drew elliptical corners after an uneven scale in v0.4.0;
inconsistent on a rectangle that isn't square:

- doc: LiveShape::fold_scale moves an uneven scale left in `xf` (files
  saved before #291) into the size and radii; `transform` uses it, and
  `folded()`/`corner_style` give Live Corners document units.
- engine: object.setLiveShape folds that scale first, so setting a radius
  or kind (fields, dialog, widgets, MCP) gives circular corners on such
  shapes instead of keeping the ellipses.
- geom: max_corner_radius/fitted_corner_radius are the one limit every
  corner shares (half the shorter side).
- tools: corner widgets sit at the centres of the corners as drawn (a
  radius past the limit put them off the arc, further in along the long
  side), drag in document units on stretched shapes, and outline the
  edited corners in red at the limit, as the reference app does.
- svg: CSS export writes the drawn radii (CSS would draw a radius past the
  limit when its neighbours leave room).
- docs: mcp.md Live Corners, ROADMAP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 14:34:37 +07:00
..
blend_export.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
container_export.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
css_rules.rs Fix #442: alike circular corners on rectangles that aren't square 2026-10-08 14:34:37 +07:00
dash_align.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
effects_export.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
encoding_profile_fonts.rs Fix #296: variable fonts list and draw every named style 2026-10-07 21:01:26 +07:00
focal.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
font_weights.rs Fix #136: SVG export and CSS write each style's numeric font-weight 2026-10-05 23:36:29 +07:00
gradients.rs M4.28: SVG gradient export fidelity 2026-10-05 07:56:54 +07:00
ids.rs M4.29: object ids and names survive the SVG round trip 2026-10-05 07:57:44 +07:00
import_details.rs M4.42: SVG import reads linked images from the SVG's folder, intersects nested clips, keeps hidden objects and expands reflected gradients 2026-10-05 12:12:06 +07:00
import_live.rs M4.41: SVG import keeps symbols, patterns and blur/shadow filters live 2026-10-05 12:11:27 +07:00
import_text.rs Fix #429: Type on a path brackets, flip and Type on a Path Options that keep the type in place 2026-10-08 12:50:25 +07:00
import_units.rs Fix #396: SVG type opens at the size it draws at 2026-10-08 07:18:34 +07:00
mask_options.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
non_scaling_stroke.rs Fix #396: SVG type opens at the size it draws at 2026-10-08 07:18:34 +07:00
options.rs Fix #320: CMYK images stay CMYK from PDF import to PDF export 2026-10-08 06:04:07 +07:00
prop_svg.rs M4.26: SVG Options in the engine, a dialog and MCP 2026-10-05 07:55:59 +07:00
raster_paints.rs M4.98: freeform gradients export to SVG as images clipped to their shapes 2026-10-05 13:25:16 +07:00
roundtrip.rs Fix #429: Type on a path brackets, flip and Type on a Path Options that keep the type in place 2026-10-08 12:50:25 +07:00
stroke_export.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
symbols_layers.rs Fix #420: SVG import keeps clipped layers as layers with a clipping mask 2026-10-08 10:29:38 +07:00
text_layout.rs M4.27: area type and rich text in SVG export 2026-10-05 07:56:32 +07:00
text_paint_order.rs Fix #139: SVG import paints paint-order="stroke" text strokes under the letters 2026-10-05 23:36:29 +07:00
text_stroke.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00