class Warp
{
	constructor(element)
	{

	}

	normalize(steps=-1)
	{
		if(steps & Warp.TO_PATH)
		{
			
		}
		
		if(steps & Warp.TO_ABSOLUTE)
		{

		}
		
		if(steps & Warp.TO_LINE)
		{

		}

		if(steps & Warp.TO_CURVE)
		{

		}
	}

	transform(transformer)
	{

	}

	interpolate(threshold)
	{
		return false
	}

	extrapolate(threshold)
	{
		return false
	}

	preInterpolate(transformer, threshold)
	{
		return false
	}

	preExtrapolate(transformer, threshold)
	{
		return false
	}
}

Warp.TO_PATH = 1
Warp.TO_ABSOLUTE = 2
Warp.TO_LINE = 4
Warp.TO_CURVE = 8

export default Warp

@@ -1,8 +1,54 @@
+import * as normalize from './svg/normalize'%0A%0A
 class Wa
@@ -73,24 +73,48 @@
 element)%0A%09%7B%0A
+%09%09this.element = element
 %0A%09%7D%0A%0A%09normal
@@ -125,16 +125,31 @@
 steps=-1
+, curveType='q'
 )%0A%09%7B%0A%09%09i
@@ -179,16 +179,46 @@
 %0A%09%09%7B%0A%09%09%09
+normalize.toPath(this.element)
 %0A%09%09%7D%0A%09%09%0A
@@ -248,24 +248,61 @@
 SOLUTE)%0A%09%09%7B%0A
+%09%09%09normalize.toAbsolute(this.element)
 %0A%09%09%7D%0A%09%09%0A%09%09if
@@ -324,24 +324,57 @@
 O_LINE)%0A%09%09%7B%0A
+%09%09%09normalize.toLine(this.element)
 %0A%09%09%7D%0A%0A%09%09if(s
@@ -399,16 +399,61 @@
 VE)%0A%09%09%7B%0A
+%09%09%09normalize.toCurve(this.element, curveType)
 %0A%09%09%7D%0A%09%7D%0A

Set up normalisation method