Refines the design of APL glyphs, and also introduces a configurable "Favor APL" configuration for APL-oriented custom builds (#1200).

This commit is contained in:
be5invis 2021-08-27 23:58:43 -07:00
parent 274eac85eb
commit 22f9b847cf
17 changed files with 320 additions and 140 deletions

View file

@ -38,6 +38,15 @@ class Point {
static fromXY(type, x, y) {
return new Point(type, x || 0, y || 0);
}
static corner(x, y) {
return new Point(Point.Type.Corner, x || 0, y || 0);
}
static withX(z, x) {
return new Point(z.type, x || 0, z.y);
}
static withY(z, y) {
return new Point(z.type, z.x, y || 0);
}
static transformed(tfm, z) {
return Point.transformedXY(tfm, z.type, z.x, z.y);
}