public Parse ( Stream input, bool fontFlagsWideCodes ) : void | ||
input | Stream | |
fontFlagsWideCodes | bool | |
Résultat | void |
public void Parse(Stream input, bool fontFlagsWideCodes)
{
BinaryReader br = new BinaryReader(input);
if (fontFlagsWideCodes)
{
this._wideFontKerningCode1 = br.ReadUInt16();
this._wideFontKerningCode2 = br.ReadUInt16();
}
else
{
this._fontKerningCode1 = br.ReadByte();
this._fontKerningCode2 = br.ReadByte();
}
this._fontKerningAdjustment = br.ReadInt16();
}