potrace
Version:
Potrace in Javascript, for NodeJS
21 lines (19 loc) • 338 B
JavaScript
;
/**
* Curve type
*
* @param n
* @constructor
* @protected
*/
function Curve(n) {
this.n = n;
this.tag = new Array(n);
this.c = new Array(n * 3);
this.alphaCurve = 0;
this.vertex = new Array(n);
this.alpha = new Array(n);
this.alpha0 = new Array(n);
this.beta = new Array(n);
}
module.exports = Curve;