Iosevka/support/point.ptl
2017-01-24 06:24:08 +08:00

14 lines
371 B
Plaintext

export all : class Point
public [new x y on cubic subdivided] : begin
this.x = x
this.y = y
this.on = on || false
this.subdivided = subdivided || false
this.cubic = cubic || false
static [transformed tfm x y on cubic subdivided] : new Point
* x * tfm.xx + y * tfm.yx + tfm.x
* x * tfm.xy + y * tfm.yy + tfm.y
* on
* cubic
* subdivided