mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Ellipse refactor
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
parent
017047d15e
commit
3efa8735ef
10 changed files with 301 additions and 217 deletions
|
@ -1,9 +1,5 @@
|
|||
import type { Polycurve, Polyline } from "./geometry/shape";
|
||||
import {
|
||||
pointInEllipse,
|
||||
pointOnEllipse,
|
||||
type GeometricShape,
|
||||
} from "./geometry/shape";
|
||||
import { type GeometricShape } from "./geometry/shape";
|
||||
import type { Curve, ViewportPoint } from "../math";
|
||||
import {
|
||||
lineSegment,
|
||||
|
@ -15,6 +11,8 @@ import {
|
|||
type GlobalPoint,
|
||||
type LocalPoint,
|
||||
type Polygon,
|
||||
pointOnEllipse,
|
||||
pointInEllipse,
|
||||
} from "../math";
|
||||
|
||||
// check if the given point is considered on the given shape's border
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue