161 references to GetUShort
PresentationCore (161)
MS\Internal\Shaping\Context.cs (61)
27return Table.GetUShort(offset + Index*sizeLookupRecord + offsetSequenceIndex); 32return Table.GetUShort(offset + Index*sizeLookupRecord + offsetLookupIndex); 186return Table.GetUShort(offset + offsetFormat); 191return new CoverageTable(offset + Table.GetUShort(offset + offsetCoverage)); 204Table.GetUShort(offset + 218return Table.GetUShort(offset+offsetRuleCount); 224Table.GetUShort(offset + 240return Table.GetUShort(Offset); 245return Table.GetUShort(Offset); 251Table.GetUShort(CurrentOffset)); 481return Table.GetUShort(offset + offsetFormat); 486return new CoverageTable(offset + Table.GetUShort(offset + offsetCoverage)); 492Table.GetUShort(offset + 500Table.GetUShort(offset + 508Table.GetUShort(offset + 515return Table.GetUShort(offset + offsetSubClassSetCount); 520int ClassSetOffset = Table.GetUShort(offset + offsetSubClassSetArray + 537return Table.GetUShort(offset+offsetRuleCount); 542return new SubClassRule(offset + Table.GetUShort(offset + offsetRuleArray + 558return Table.GetUShort(Offset); 563return Table.GetUShort(Offset); 569Table.GetUShort(CurrentOffset)); 823return Table.GetUShort(offset + offsetFormat); 828return Table.GetUShort(offset+offsetBacktrackGlyphCount); 834Table.GetUShort(offset+ 843return Table.GetUShort(offset+offsetInputGlyphCount); 849Table.GetUShort(offset+ 858return Table.GetUShort(offset+offsetLookaheadGlyphCount); 864Table.GetUShort(offset+ 876Table.GetUShort(recordCountOffset)); 883Table.GetUShort(offset+offsetBacktrackGlyphCount) * 887Table.GetUShort(offset+offsetInputGlyphCount) * 1092return Table.GetUShort(offset+offsetFormat); 1233return Table.GetUShort(offset + offsetFormat); 1238return new CoverageTable(offset + Table.GetUShort(offset + offsetCoverage)); 1250Table.GetUShort(offset + 1264return Table.GetUShort(offset+offsetRuleCount); 1270Table.GetUShort(offset + 1289return Table.GetUShort(offset + offsetGlyphCount); 1294return Table.GetUShort(offset + offsetSubstCount); 1299return Table.GetUShort(offset + offsetInput + (Index - 1) * sizeGlyphId); 1464return Table.GetUShort(offset + offsetFormat); 1469return new CoverageTable(offset + Table.GetUShort(offset + offsetCoverage)); 1474return new ClassDefTable(offset + Table.GetUShort(offset + offsetClassDef)); 1479return Table.GetUShort(offset + offsetSubClassSetCount); 1484int ClassSetOffset = Table.GetUShort(offset + offsetSubClassSetArray + 1502return Table.GetUShort(offset+offsetRuleCount); 1507return new SubClassRule(offset + Table.GetUShort(offset + offsetRuleArray + 1526return Table.GetUShort(offset+offsetGlyphCount); 1532return Table.GetUShort(offset + offsetInputSequence + (Index - 1)*sizeClassId); 1537return Table.GetUShort(offset + offsetSubstCount); 1712return Table.GetUShort(offset + offsetFormat); 1717return Table.GetUShort(offset + offsetGlyphCount); 1722return Table.GetUShort(offset + offsetSubstCount); 1727return new CoverageTable(offset + Table.GetUShort(offset + offsetInputCoverage + index * sizeOffset)); 1840return Table.GetUShort(offset+offsetFormat); 1968return Table.GetUShort(offset + offsetFormat); 1973return new CoverageTable(offset + Table.GetUShort(offset + offsetCoverage)); 1978return new CoverageTable(offset + Table.GetUShort(Offset)); 1983return Table.GetUShort(Offset); 1988return Table.GetUShort(Offset);
MS\Internal\Shaping\OpenTypeCommon.cs (30)
1453return Table.GetUShort(offset + offsetScriptCount); 1525return Table.GetUShort(offset+offsetLangSysCount); 1570ushort requiredFeatureIndex = Table.GetUShort(offset + offsetRequiredFeature); 1583return Table.GetUShort(offset + offsetFeatureCount); 1588return Table.GetUShort(offset + offsetFeatureIndexArray + Index*sizeFeatureIndex); 1606return Table.GetUShort(offset + offsetFeatureCount); 1618return new FeatureTable(offset+Table.GetUShort(offset + 1636return Table.GetUShort(offset + offsetLookupCount); 1641return Table.GetUShort(offset + offsetLookupIndexArray + Index*sizeLookupIndex); 1658return Table.GetUShort(offset + offsetLookupCount); 1663return new LookupTable(Table, offset + Table.GetUShort(offset + LookupOffsetArray + 1704lookupType = table.GetUShort(offset + offsetLookupType); 1705lookupFlags = table.GetUShort(offset + offsetLookupFlags); 1706subtableCount = table.GetUShort(offset + offsetSubtableCount); 1731return Table.GetUShort(offset + offsetFormat); 1736return Table.GetUShort(offset + offsetFormat1GlyphCount); 1741return Table.GetUShort(offset + offsetFormat1GlyphArray + 1747return Table.GetUShort(offset + offsetFormat2RangeCount); 1752return Table.GetUShort(offset + offsetFormat2RangeRecordArray + 1759return Table.GetUShort(offset + offsetFormat2RangeRecordArray + 1766return Table.GetUShort(offset + offsetFormat2RangeRecordArray + 1936return Table.GetUShort(offset + offsetFormat); 1941return Table.GetUShort(offset + offsetFormat1StartGlyph); 1946return Table.GetUShort(offset + offsetFormat1GlyphCount); 1951return Table.GetUShort(offset + offsetFormat1ClassValueArray + 1957return Table.GetUShort(offset + offsetFormat2RangeCount); 1962return Table.GetUShort(offset + offsetFormat2RangeRecordArray + 1969return Table.GetUShort(offset + offsetFormat2RangeRecordArray + 1976return Table.GetUShort(offset + offsetFormat2RangeRecordArray + 2049return Table.GetUShort(offset + offsetLookupType);
MS\Internal\Shaping\Positioning.cs (48)
142return Table.GetUShort(offset + offsetStartSize); 147return Table.GetUShort(offset + offsetEndSize); 152return Table.GetUShort(offset + offsetDeltaFormat); 157return Table.GetUShort( offset + offsetDeltaValueArray + 356return Table.GetUShort(offset + offsetFormat2AnchorPoint); 362int DeviceOffset = Table.GetUShort(offset + offsetFormat3XDeviceTable); 378int DeviceOffset = Table.GetUShort(offset + offsetFormat3YDeviceTable); 450format = Table.GetUShort(offset + offsetFormat); 471return Table.GetUShort(offset + offsetFormat); 481return Table.GetUShort(offset + offsetValueFormat); 584return Table.GetUShort(offset + offsetFormat); 594return Table.GetUShort(offset + offsetValueFormat1); 599return Table.GetUShort(offset + offsetValueFormat2); 613return new PairSetTable(offset + Table.GetUShort(offset + 623return new ClassDefTable(offset+Table.GetUShort(offset + offsetFormat2ClassDef1)); 629return new ClassDefTable(offset+Table.GetUShort(offset + offsetFormat2ClassDef2)); 635return Table.GetUShort(offset + offsetFormat2Class1Count); 641return Table.GetUShort(offset + offsetFormat2Class2Count); 696return Table.GetUShort(offset + offsetPairValueCount); 701return Table.GetUShort( offset + offsetPairValueArray + 860return Table.GetUShort(offset + offsetClassArray + 867int anchorTableOffset = Table.GetUShort(offset + offsetClassArray + 894return Table.GetUShort(offset + offsetFormat); 899return new CoverageTable(offset + Table.GetUShort(offset + offsetCoverage)); 904return new CoverageTable(offset + Table.GetUShort(offset + 910return Table.GetUShort(offset + offsetClassCount); 915return new MarkArray(offset + Table.GetUShort(offset + offsetMarkArray)); 920return new BaseArray(offset + Table.GetUShort(offset + offsetBaseArray)); 933int anchorTableOffset = Table.GetUShort(offset + offsetAnchorArray + 1043return Table.GetUShort(offset + offsetFormat); 1048return new CoverageTable(offset + Table.GetUShort(offset + offsetCoverage)); 1053return new CoverageTable(offset + Table.GetUShort(offset + offsetMark2Coverage)); 1058return Table.GetUShort(offset + offsetClassCount); 1063return new MarkArray(offset + Table.GetUShort(offset + offsetMark1Array)); 1068return new Mark2Array(offset + Table.GetUShort(offset + offsetMark2Array)); 1083int anchorTableOffset = Table.GetUShort(offset + offsetAnchors + 1194return Table.GetUShort(offset + offsetFormat); 1199return new CoverageTable(offset + Table.GetUShort(offset + offsetCoverage)); 1211int anchorTableOffset = Table.GetUShort(offset + 1222int anchorTableOffset = Table.GetUShort(offset + 1377int anchorTableOffset = Table.GetUShort(offset + offsetAnchorArray + 1411return Table.GetUShort(offset + offsetFormat); 1416return new CoverageTable(offset + Table.GetUShort(offset + offsetMarkCoverage)); 1421return new CoverageTable(offset + Table.GetUShort(offset + offsetLigatureCoverage)); 1426return Table.GetUShort(offset + offsetClassCount); 1431return new MarkArray(offset + Table.GetUShort(offset + offsetMarkArray)); 1436int offsetLigatureArrayTable = offset + Table.GetUShort(offset + offsetLigatureArray); 1438Table.GetUShort(offsetLigatureArrayTable +
MS\Internal\Shaping\Substitution.cs (22)
28return Table.GetUShort(offset + offsetFormat); 33return new CoverageTable(offset+Table.GetUShort(offset + offsetCoverage)); 52return Table.GetUShort(offset + offsetFormat2SubstitutehArray + 124return Table.GetUShort(offset + offsetFormat); 129return new CoverageTable(offset + Table.GetUShort(offset + offsetCoverage)); 134return Table.GetUShort(offset + offsetLigatureSetCount); 139return new LigatureSetTable(offset+Table.GetUShort(offset+ 153return Table.GetUShort(offset + offsetLigatureCount); 158return new LigatureTable(offset + Table.GetUShort(offset + 176return Table.GetUShort(offset + offsetLigatureGlyph); 181return Table.GetUShort(offset + offsetComponentCount); 187return Table.GetUShort(offset + offsetComponentArray + 414return Table.GetUShort(offset + offsetGlyphCount); 419return Table.GetUShort(offset + offsetGlyphArray + index * sizeGlyphId); 436return Table.GetUShort(offset + offsetFormat); 441return new CoverageTable(offset + Table.GetUShort(offset + offsetCoverage)); 455Table.GetUShort(offset + 563return Table.GetUShort(offset + offsetFormat); 568return new CoverageTable(offset + Table.GetUShort(offset + offsetCoverage)); 581Table.GetUShort(offset + 595return Table.GetUShort(offset + offsetGlyphCount); 611return Table.GetUShort(offset + offsetGlyphs + (ushort)index*sizeGlyph);