From 2c3f20635bc2f9f12f5c316c911564ecedc76745 Mon Sep 17 00:00:00 2001 From: Delmo Heredia Date: Tue, 23 Apr 2024 16:22:06 +0200 Subject: [PATCH] Add convertUnit utility function to SvgCanvas instance (#965) --- packages/svgcanvas/svgcanvas.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/svgcanvas/svgcanvas.js b/packages/svgcanvas/svgcanvas.js index 5c4a63773..a7bdbc75b 100644 --- a/packages/svgcanvas/svgcanvas.js +++ b/packages/svgcanvas/svgcanvas.js @@ -1291,6 +1291,7 @@ class SvgCanvas { this.hasMatrixTransform = hasMatrixTransform this.transformListToTransform = transformListToTransform this.convertToNum = convertToNum + this.convertUnit = convertUnit this.findDefs = findDefs this.getUrlFromAttr = getUrlFromAttr this.getHref = getHref