home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VOL12N03.ZIP / BITFO2.ZIP / BMF.H < prev   
Text File  |  1992-10-30  |  754b  |  36 lines

  1. /*-------------------------------------------
  2.    BMF.H -- Easy access to OS/2 bitmap fonts
  3.             (c) Charles Petzold, 1993
  4.   -------------------------------------------*/
  5.  
  6. typedef struct
  7.      {
  8.      int  iPointSize ;
  9.      LONG lMatch ;
  10.      }
  11.      SIZES ;
  12.  
  13. typedef SIZES * PSIZES ;
  14.  
  15. typedef struct
  16.      {
  17.      char   szFacename [FACESIZE] ;
  18.      int    iNumSizes ;
  19.      PSIZES psizes ;
  20.      }
  21.      FACES ;
  22.  
  23. typedef struct
  24.      {
  25.      int   iNumFaces ;
  26.      FACES faces [1] ;
  27.      }
  28.      FONTLIST ;
  29.  
  30. typedef FONTLIST * PFONTLIST ;
  31.  
  32. PFONTLIST GetAllBitmapFonts (HPS hps) ;
  33.  
  34. LONG CreateBitmapFont (HPS hps, LONG lcid, char * szFacename,
  35.                        int iPointSize, SHORT fsAttributes, SHORT usCodePage) ;
  36.