Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
864 B

  1. /*******************************************************************************
  2. *
  3. * MODULE : Font.h
  4. *
  5. * DESCRIPTION : Include file for constants and typedefs related only to the
  6. * the font selection routines.
  7. *
  8. * HISTORY : 11/13/90 - L.Raman
  9. *
  10. * Copyright (c) Microsoft Corporation, 1990-
  11. *
  12. *******************************************************************************/
  13. /* struct. passed in to the facename and pt. size enum. functions */
  14. #define CCHCOLORNAMEMAX 16 /* max. length of color name text */
  15. #define CCHCOLORS 16 /* max. no of pure colors in color combo */
  16. #define POINTS_PER_INCH 72
  17. #define FFMASK 0xF0 /* pitch and family mask */
  18. #define CCHSTDSTRING 12 /* max. length of sample text string */
  19. #define FONTPROP (LPSTR)0xA000L
  20. extern HANDLE hinsCur; /* DLL's data segment */