File:  [OS/2 SDKs] / pmsdk / samples / petzold / chap14 / easyfont.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:28 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1989, HEAD
Microsoft OS/2 SDK PM 02-24-1989

/*---------------------------------------
   EASYFONT.H header file for EASYFONT.C
  ---------------------------------------*/

BOOL EzfQueryFonts    (HPS hps) ;
LONG EzfCreateLogFont (HPS hps, LONG lcid, USHORT idFace, USHORT idSize,
                                           USHORT fsSelection) ;

#define FONTFACE_SYSTEM  0
#define FONTFACE_COUR    1
#define FONTFACE_HELV    2
#define FONTFACE_TIMES   3

#define FONTSIZE_8       0
#define FONTSIZE_10      1
#define FONTSIZE_12      2
#define FONTSIZE_14      3
#define FONTSIZE_18      4
#define FONTSIZE_24      5

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.