WmfConstants.cs 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace WMFConverter.Wmf
  7. {
  8. /// <summary>
  9. /// Constants Enum.
  10. /// </summary>
  11. public enum WmfConstants
  12. {
  13. RECORD_EOF = 0x0000,
  14. RECORD_REALIZE_PALETTE = 0x0035,
  15. RECORD_SET_PALETTE_ENTRIES = 0x0037,
  16. RECORD_SET_BK_MODE = 0x0102,
  17. RECORD_SET_MAP_MODE = 0x0103,
  18. RECORD_SET_ROP2 = 0x0104,
  19. RECORD_SET_REL_ABS = 0x0105,
  20. RECORD_SET_POLY_FILL_MODE = 0x0106,
  21. RECORD_SET_STRETCH_BLT_MODE = 0x0107,
  22. RECORD_SET_TEXT_CHARACTER_EXTRA = 0x0108,
  23. RECORD_RESTORE_DC = 0x0127,
  24. RECORD_RESIZE_PALETTE = 0x0139,
  25. RECORD_DIB_CREATE_PATTERN_BRUSH = 0x0142,
  26. RECORD_SET_LAYOUT = 0x0149,
  27. RECORD_SET_BK_COLOR = 0x0201,
  28. RECORD_SET_TEXT_COLOR = 0x0209,
  29. RECORD_OFFSET_VIEWPORT_ORG_EX = 0x0211,
  30. RECORD_LINE_TO = 0x0213,
  31. RECORD_MOVE_TO_EX = 0x0214,
  32. RECORD_OFFSET_CLIP_RGN = 0x0220,
  33. RECORD_FILL_RGN = 0x0228,
  34. RECORD_SET_MAPPER_FLAGS = 0x0231,
  35. RECORD_SELECT_PALETTE = 0x0234,
  36. RECORD_POLYGON = 0x0324,
  37. RECORD_POLYLINE = 0x0325,
  38. RECORD_SET_TEXT_JUSTIFICATION = 0x020A,
  39. RECORD_SET_WINDOW_ORG_EX = 0x020B,
  40. RECORD_SET_WINDOW_EXT_EX = 0x020C,
  41. RECORD_SET_VIEWPORT_ORG_EX = 0x020D,
  42. RECORD_SET_VIEWPORT_EXT_EX = 0x020E,
  43. RECORD_OFFSET_WINDOW_ORG_EX = 0x020F,
  44. RECORD_SCALE_WINDOW_EXT_EX = 0x0410,
  45. RECORD_SCALE_VIEWPORT_EXT_EX = 0x0412,
  46. RECORD_EXCLUDE_CLIP_RECT = 0x0415,
  47. RECORD_INTERSECT_CLIP_RECT = 0x0416,
  48. RECORD_ELLIPSE = 0x0418,
  49. RECORD_FLOOD_FILL = 0x0419,
  50. RECORD_FRAME_RGN = 0x0429,
  51. RECORD_ANIMATE_PALETTE = 0x0436,
  52. RECORD_TEXT_OUT = 0x0521,
  53. RECORD_POLY_POLYGON = 0x0538,
  54. RECORD_EXT_FLOOD_FILL = 0x0548,
  55. RECORD_RECTANGLE = 0x041B,
  56. RECORD_SET_PIXEL = 0x041F,
  57. RECORD_ROUND_RECT = 0x061C,
  58. RECORD_PAT_BLT = 0x061D,
  59. RECORD_SAVE_DC = 0x001E,
  60. RECORD_PIE = 0x081A,
  61. RECORD_STRETCH_BLT = 0x0B23,
  62. RECORD_ESCAPE = 0x0626,
  63. RECORD_INVERT_RGN = 0x012A,
  64. RECORD_PAINT_RGN = 0x012B,
  65. RECORD_SELECT_CLIP_RGN = 0x012C,
  66. RECORD_SELECT_OBJECT = 0x012D,
  67. RECORD_SET_TEXT_ALIGN = 0x012E,
  68. RECORD_ARC = 0x0817,
  69. RECORD_CHORD = 0x0830,
  70. RECORD_BIT_BLT = 0x0922,
  71. RECORD_EXT_TEXT_OUT = 0x0a32,
  72. RECORD_SET_DIBITS_TO_DEVICE = 0x0d33,
  73. RECORD_DIB_BIT_BLT = 0x0940,
  74. RECORD_DIB_STRETCH_BLT = 0x0b41,
  75. RECORD_STRETCH_DIBITS = 0x0f43,
  76. RECORD_DELETE_OBJECT = 0x01f0,
  77. RECORD_CREATE_PALETTE = 0x00f7,
  78. RECORD_CREATE_PATTERN_BRUSH = 0x01F9,
  79. RECORD_CREATE_PEN_INDIRECT = 0x02FA,
  80. RECORD_CREATE_FONT_INDIRECT = 0x02FB,
  81. RECORD_CREATE_BRUSH_INDIRECT = 0x02FC,
  82. RECORD_CREATE_RECT_RGN = 0x06FF,
  83. }
  84. }