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.

49 lines
2.0 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: xfflags.h
  3. *
  4. * Shared flags for use in client and server side transform code.
  5. *
  6. * Created: 3-Aug-1992 22:34:23
  7. * Author: Gerrit van Wingerden [gerritv]
  8. *
  9. * Copyright (c) 1992-1999 Microsoft Corporation
  10. \**************************************************************************/
  11. #ifndef INC_XFFLAGS
  12. #define INC_XFFLAGS
  13. #define XFORM_SCALE 1 // off-diagonal are 0
  14. #define XFORM_UNITY 2 // diagonal are 1s, off-diagonal are 0
  15. // will be set only if XFORM_SCALE is set
  16. #define XFORM_Y_NEG 4 // M22 is negative. Will be set only if
  17. // XFORM_SCALE|XFORM_UNITY are set
  18. #define XFORM_FORMAT_LTOFX 8 // transform from LONG to FIX format
  19. #define XFORM_FORMAT_FXTOL 16 // transform from FIX to LONG format
  20. #define XFORM_FORMAT_LTOL 32 // transform from LONG to LONG format
  21. #define XFORM_NO_TRANSLATION 64 // no translations
  22. #define MATRIX_SET_IDENTITY 1
  23. #define MATRIX_SET 2
  24. #define MATRIX_MODIFY 3
  25. #define METAFILE_TO_WORLD_IDENTITY 0x00000001L
  26. #define WORLD_TO_PAGE_IDENTITY 0x00000002L
  27. #define DEVICE_TO_PAGE_INVALID 0x00000008L
  28. #define DEVICE_TO_WORLD_INVALID 0x00000010L
  29. #define WORLD_TRANSFORM_SET 0x00000020L
  30. #define POSITIVE_Y_IS_UP 0x00000040L
  31. #define INVALIDATE_ATTRIBUTES 0x00000080L
  32. #define PTOD_EFM11_NEGATIVE 0x00000100L
  33. #define PTOD_EFM22_NEGATIVE 0x00000200L
  34. #define ISO_OR_ANISO_MAP_MODE 0x00000400L
  35. #define PAGE_TO_DEVICE_IDENTITY 0x00000800L
  36. #define PAGE_TO_DEVICE_SCALE_IDENTITY 0x00001000L
  37. #define PAGE_XLATE_CHANGED 0x00002000L
  38. #define PAGE_EXTENTS_CHANGED 0x00004000L
  39. #define WORLD_XFORM_CHANGED 0x00008000L
  40. #endif // #ifndef INC_XFFLAGS