Fix leaning marks placement for reversed k/F/P (#2150).
This commit is contained in:
parent
4364beed2b
commit
4e9555b8fd
7 changed files with 43 additions and 79 deletions
|
@ -80,6 +80,9 @@ export class Transform {
|
|||
static isIdentity(tfm) {
|
||||
return this.isTranslate(tfm) && tfm.x === 0 && tfm.y === 0;
|
||||
}
|
||||
static isPositive(tfm) {
|
||||
return tfm.xx * tfm.yy - tfm.xy * tfm.yx > 0;
|
||||
}
|
||||
static Combine(...tfms) {
|
||||
let z00 = new Vec2(0, 0);
|
||||
let z10 = new Vec2(1, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue