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.

41 lines
2.2 KiB

  1. //***************************************************************************************************
  2. // COLDEF.H
  3. //---------------------------------------------------------------------------------------------------
  4. // copyright(C) 1997-2000 CASIO COMPUTER CO.,LTD. / CASIO ELECTRONICS MANUFACTURING CO.,LTD.
  5. //***************************************************************************************************
  6. //---------------------------------------------------------------------------------------------------
  7. // Structure for RGB Color
  8. //---------------------------------------------------------------------------------------------------
  9. typedef struct {
  10. BYTE Blu; // Density 0 to 255
  11. BYTE Grn; //
  12. BYTE Red; //
  13. } RGBS, *LPRGB;
  14. //---------------------------------------------------------------------------------------------------
  15. // Structure for CMYK Color
  16. //---------------------------------------------------------------------------------------------------
  17. typedef struct {
  18. BYTE Cyn; // Density 0 tot 255
  19. BYTE Mgt; //
  20. BYTE Yel; //
  21. BYTE Bla; //
  22. } CMYK, *LPCMYK;
  23. //---------------------------------------------------------------------------------------------------
  24. // Color number
  25. //---------------------------------------------------------------------------------------------------
  26. #define BLACK 0
  27. #define YELLOW 1
  28. #define MGENTA 2
  29. #define CYAN 3
  30. //---------------------------------------------------------------------------------------------------
  31. // Magnification
  32. //---------------------------------------------------------------------------------------------------
  33. typedef struct {
  34. UINT Nrt; // Numerator
  35. UINT Dnt; // Denominator
  36. } MAG, FAR *LPMAG;
  37. // End of COLDEF.H