Ejemplo n.º 1
0
 internal WinTextMetric
 (
     FontApi DC
 )
 {
     tmHeight           = DC.ReadInt32();
     tmAscent           = DC.ReadInt32();
     tmDescent          = DC.ReadInt32();
     tmInternalLeading  = DC.ReadInt32();
     tmExternalLeading  = DC.ReadInt32();
     tmAveCharWidth     = DC.ReadInt32();
     tmMaxCharWidth     = DC.ReadInt32();
     tmWeight           = DC.ReadInt32();
     tmOverhang         = DC.ReadInt32();
     tmDigitizedAspectX = DC.ReadInt32();
     tmDigitizedAspectY = DC.ReadInt32();
     tmFirstChar        = DC.ReadUInt16();
     tmLastChar         = DC.ReadUInt16();
     tmDefaultChar      = DC.ReadUInt16();
     tmBreakChar        = DC.ReadUInt16();
     tmItalic           = DC.ReadByte();
     tmUnderlined       = DC.ReadByte();
     tmStruckOut        = DC.ReadByte();
     tmPitchAndFamily   = DC.ReadByte();
     tmCharSet          = DC.ReadByte();
     return;
 }
Ejemplo n.º 2
0
 internal WinPanose
 (
     FontApi DC
 )
 {
     bFamilyType      = DC.ReadByte();
     bSerifStyle      = DC.ReadByte();
     bWeight          = DC.ReadByte();
     bProportion      = DC.ReadByte();
     bContrast        = DC.ReadByte();
     bStrokeVariation = DC.ReadByte();
     bArmStyle        = DC.ReadByte();
     bLetterform      = DC.ReadByte();
     bMidline         = DC.ReadByte();
     bXHeight         = DC.ReadByte();
 }