Eng: Unify the inclusion interface (#2426)

* Unify inclusion interface

* Version bump + sample update
This commit is contained in:
Belleve 2024-07-21 16:24:06 -10:00 committed by GitHub
parent 6977550b8d
commit 4e9c3bce9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 272 additions and 236 deletions

View file

@ -71,6 +71,10 @@ export class Transform {
);
}
applyToGlyph(g, alsoAnchors) {
g.applyTransform(this, alsoAnchors);
}
toString() {
return `[[${this.xx} ${this.yx}] [${this.xy} ${this.yy}]] + [[${this.tx}] [${this.ty}]]`;
}