update PatEL into 0.25.1

This commit is contained in:
be5invis 2015-12-02 20:00:57 +08:00
parent 0562b5ac3d
commit 8ac33ebd7b
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
"version": "0.1.7", "version": "0.1.7",
"main": "./generate.js", "main": "./generate.js",
"dependencies": { "dependencies": {
"patel": ">=0.25.0", "patel": ">=0.25.1",
"node-sfnt": ">=0.0.20", "node-sfnt": ">=0.0.20",
"bezier-js": "*", "bezier-js": "*",
"yargs": "*", "yargs": "*",

View File

@ -16,7 +16,7 @@ define [ratio l r m] : if [l === r] 0 ((m - l) / (r - l))
define [fallback] : for [local j 0] (j < arguments.length) [inc j] : if (arguments.(j) !== nothing) : return arguments.(j) define [fallback] : for [local j 0] (j < arguments.length) [inc j] : if (arguments.(j) !== nothing) : return arguments.(j)
export default : define [Glyph name] : begin export all : define [Glyph name] : begin
set this.name name set this.name name
set this.unicode {} set this.unicode {}
set this.contours {} set this.contours {}

View File

@ -11,7 +11,7 @@ define-macro xytransform : syntax-rules
set @y : @t * @tfm.xy + @y * @tfm.yy + @tfm.y set @y : @t * @tfm.xy + @y * @tfm.yy + @tfm.y
] ]
export default : define [SpiroExpansionContext] : begin export all : define [SpiroExpansionContext] : begin
set this.gizmo [Transform.Id] set this.gizmo [Transform.Id]
set this.controlKnots {} set this.controlKnots {}
set this.defaultd1 0 set this.defaultd1 0

View File

@ -16,7 +16,7 @@ define KAPPA 0.51
define BKAPPA : KAPPA + 0.1 define BKAPPA : KAPPA + 0.1
define CKAPPA BKAPPA define CKAPPA BKAPPA
export default : define [Stroke] : begin export all : define [Stroke] : begin
this.points = {} this.points = {}
this.samples = SAMPLES this.samples = SAMPLES
this.gizmo = [Transform.Id] this.gizmo = [Transform.Id]