home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / sdk20 / jsdk05.cab / Src / Win32Api / TEXTMETRIC.java < prev    next >
Encoding:
Java Source  |  1997-09-25  |  1.1 KB  |  35 lines

  1. // Copyright (C) 1997 Microsoft Corporation  All Rights Reserved
  2.  
  3. // These classes provide direct, low-overhead access to commonly used
  4. // Windows api. These classes use the new J/Direct feature.
  5. //
  6. // Information on how to use J/Direct to write your own declarations
  7. // can be found in the Microsoft SDK for Java 2.0.
  8.  
  9. package com.ms.win32;
  10.  
  11. /** @dll.struct(auto) */
  12. public class TEXTMETRIC {
  13.         public int tmHeight;
  14.         public int tmAscent;
  15.         public int tmDescent;
  16.         public int tmInternalLeading;
  17.         public int tmExternalLeading;
  18.         public int tmAveCharWidth;
  19.         public int tmMaxCharWidth;
  20.         public int tmWeight;
  21.         public int tmOverhang;
  22.         public int tmDigitizedAspectX;
  23.         public int tmDigitizedAspectY;
  24.         public char tmFirstChar;
  25.         public char tmLastChar;
  26.         public char tmDefaultChar;
  27.         public char tmBreakChar;
  28.         public byte tmItalic;
  29.         public byte tmUnderlined;
  30.         public byte tmStruckOut;
  31.         public byte tmPitchAndFamily;
  32.         public byte tmCharSet;
  33. }
  34.  
  35.