ef44d71ee2
This PR adds a heart geo shape. ❤️
It also:
- adds `toSvgPathData` to geometry2d
- uses geometry2d in places where previously we recalculated things like
perimeter of ellipse
- flattens geo shape util components
- [x] Calculate the path length for the DashStyleHeart
### Change Type
- [x] `sdk` — Changes the tldraw SDK
- [x] `feature` — New feature
### Release Notes
- Adds a heart shape to the geo shape set.
|
||
---|---|---|
.. | ||
export-snapshots.spec.ts-snapshots | ||
fixtures | ||
test-canvas-events.spec.ts-snapshots | ||
export-snapshots.spec.ts | ||
test-actions-menu.spec.ts | ||
test-api.spec.ts | ||
test-camera.spec.ts | ||
test-canvas-events.spec.ts | ||
test-clipboard.spec.ts | ||
test-context-menu.spec.ts | ||
test-focus.spec.ts | ||
test-help-menu.spec.ts | ||
test-kbds.spec.ts | ||
test-main-menu.spec.ts | ||
test-navigation-panel.spec.ts | ||
test-page-menu.spec.ts | ||
test-routes.spec.ts | ||
test-shapes.spec.ts | ||
test-smoke.spec.ts | ||
test-style-panel.spec.ts | ||
test-text.spec.ts | ||
test-toolbar.spec.ts |