Leaked source code of windows server 2003
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.

88 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1990-1993 Microsoft Corporation
  3. Module Name:
  4. halftone.c
  5. Abstract:
  6. This module contains data and function to validate the COLORADJUSTMENT
  7. Author:
  8. 27-Oct-1995 Fri 15:48:17 created -by- Daniel Chou (danielc)
  9. [Environment:]
  10. GDI Device Driver - Plotter.
  11. [Notes:]
  12. Revision History:
  13. --*/
  14. #ifdef NTGDIKM
  15. #include <stddef.h>
  16. #include <stdarg.h>
  17. #include <windef.h>
  18. #include <wingdi.h>
  19. #include <winddi.h>
  20. #else
  21. #include <stddef.h>
  22. #include <windows.h>
  23. #include <winddi.h>
  24. #endif
  25. DEVHTINFO DefDevHTInfo = {
  26. HT_FLAG_HAS_BLACK_DYE,
  27. HT_PATSIZE_6x6_M,
  28. 0, // DevPelsDPI
  29. {
  30. { 6380, 3350, 0 }, // xr, yr, Yr
  31. { 2345, 6075, 0 }, // xg, yg, Yg
  32. { 1410, 932, 0 }, // xb, yb, Yb
  33. { 2000, 2450, 0 }, // xc, yc, Yc Y=0=HT default
  34. { 5210, 2100, 0 }, // xm, ym, Ym
  35. { 4750, 5100, 0 }, // xy, yy, Yy
  36. { 3127, 3290, 0 }, // xw, yw, Yw=0=default
  37. 12500, // R gamma
  38. 12500, // G gamma
  39. 12500, // B gamma, 12500=Default
  40. 585, 120, // M/C, Y/C
  41. 0, 0, // C/M, Y/M
  42. 0, 10000 // C/Y, M/Y 10000=default
  43. }
  44. };
  45. COLORADJUSTMENT DefHTClrAdj = {
  46. sizeof(COLORADJUSTMENT),
  47. 0,
  48. ILLUMINANT_DEVICE_DEFAULT,
  49. 10000,
  50. 10000,
  51. 10000,
  52. REFERENCE_BLACK_MIN,
  53. REFERENCE_WHITE_MAX,
  54. 0,
  55. 0,
  56. 0,
  57. 0
  58. };