UNPKG
potrace
Version:
latest (2.1.8)
2.1.8
2.1.6
2.1.5
2.1.4
2.1.2
2.1.1
2.0.1
2.0.0
1.1.0
1.0.0
Potrace in Javascript, for NodeJS
github.com/tooolbox/node-potrace
tooolbox/node-potrace
potrace
/
lib
/
types
/
Opti.js
13 lines
(10 loc)
•
192 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict'
;
var
Point
=
require
(
'./Point'
);
function
Opti
(
) {
this
.
pen
=
0
;
this
.
c
= [
new
Point
(),
new
Point
()];
this
.
t
=
0
;
this
.
s
=
0
;
this
.
alpha
=
0
; }
module
.
exports
=
Opti
;