本文整理汇总了C#中MS.Internal.Shaping.FontTable.GetUShort方法的典型用法代码示例。如果您正苦于以下问题:C# FontTable.GetUShort方法的具体用法?C# FontTable.GetUShort怎么用?C# FontTable.GetUShort使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类MS.Internal.Shaping.FontTable
的用法示例。
在下文中一共展示了FontTable.GetUShort方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: BacktrackClassDef
private ClassDefTable BacktrackClassDef(FontTable Table)
{
return new ClassDefTable(offset +
Table.GetUShort(offset +
offsetBacktrackClassDef)
);
}
示例2: Format2SubstituteGlyphId
// Not used. This value should be equal to glyph count in Coverage.
// Keeping it for future reference
//private ushort Foramt2GlyphCount(FontTable Table)
//{
// Debug.Assert(Format(Table)==2);
// return Table.GetUShort(offset + offsetFormat2GlyphCount);
//}
private ushort Format2SubstituteGlyphId(FontTable Table,ushort Index)
{
Invariant.Assert(Format(Table)==2);
return Table.GetUShort(offset + offsetFormat2SubstitutehArray +
Index * sizeFormat2SubstituteSize);
}
示例3: GlyphCount
public ushort GlyphCount(FontTable Table)
{
return Table.GetUShort(offset + offsetGlyphCount);
}
示例4: Glyph
public ushort Glyph(FontTable Table, ushort index)
{
return Table.GetUShort(offset + offsetGlyphArray + index * sizeGlyphId);
}
示例5: Format
public ushort Format(FontTable Table)
{
return Table.GetUShort(offset + offsetFormat);
}
示例6: Ligature
public LigatureTable Ligature(FontTable Table, ushort Index)
{
return new LigatureTable(offset + Table.GetUShort(offset +
offsetLigatureArray +
Index * sizeLigatureOffset));
}
示例7: ComponentCount
public ushort ComponentCount(FontTable Table)
{
return Table.GetUShort(offset + offsetComponentCount);
}
示例8: Rule
public SubClassRule Rule(FontTable Table, ushort Index)
{
return new SubClassRule(offset + Table.GetUShort(offset + offsetRuleArray +
Index*sizeRuleOffset));
}
示例9: GlyphCount
public static ushort GlyphCount(FontTable Table, int Offset)
{
return Table.GetUShort(Offset);
}
示例10: ClassSet
private SubClassSet ClassSet(FontTable Table, ushort Index)
{
int ClassSetOffset = Table.GetUShort(offset + offsetSubClassSetArray +
Index * sizeClassSetOffset);
if (ClassSetOffset==0)
return new SubClassSet(FontTable.InvalidOffset);
else
return new SubClassSet(offset + ClassSetOffset);
}
示例11: RuleCount
public ushort RuleCount(FontTable Table)
{
return Table.GetUShort(offset+offsetRuleCount);
}
示例12: ClassSetCount
private ushort ClassSetCount(FontTable Table)
{
return Table.GetUShort(offset + offsetSubClassSetCount);
}
示例13: LookaheadClassDef
private ClassDefTable LookaheadClassDef(FontTable Table)
{
return new ClassDefTable(offset +
Table.GetUShort(offset +
offsetLookaheadClassDef)
);
}
示例14: InputClassDef
private ClassDefTable InputClassDef(FontTable Table)
{
return new ClassDefTable(offset +
Table.GetUShort(offset +
offsetInputClassDef)
);
}
示例15: LigatureSet
private LigatureSetTable LigatureSet(FontTable Table, ushort Index)
{
return new LigatureSetTable(offset+Table.GetUShort(offset+
offsetLigatureSetArray +
Index * sizeLigatureSet));
}