Searched refs:withSign (Results 1 – 1 of 1) sorted by relevance
/external/fonttools/Lib/fontTools/ttLib/ |
D | woff2.py | 747 def withSign(flag, baseval): function 783 dy = withSign(flag, ((flag & 14) << 7) + triplets[tripletIndex]) 785 dx = withSign(flag, (((flag - 10) & 14) << 7) + triplets[tripletIndex]) 790 dx = withSign(flag, 1 + (b0 & 0x30) + (b1 >> 4)) 791 dy = withSign(flag >> 1, 1 + ((b0 & 0x0c) << 2) + (b1 & 0x0f)) 794 dx = withSign(flag, 1 + ((b0 // 12) << 8) + triplets[tripletIndex]) 795 dy = withSign(flag >> 1, 799 dx = withSign(flag, (triplets[tripletIndex] << 4) + (b2 >> 4)) 800 dy = withSign(flag >> 1, 803 dx = withSign(flag, [all …]
|