export function ensureValidSVGPoint()

in src/manipulation.ts [135:142]


export function ensureValidSVGPoint(point: SVGPoint) {
    if (isNaN(point.x)) {
        point.x = 0;
    }
    if (isNaN(point.y)) {
        point.y = 0;
    }
}