patterns.h 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #ifndef _XGD_PATTERNS_H
  2. #define _XGD_PATTERNS_H
  3. #include "xgbitmaps.h"
  4. /* Fill Patterns */
  5. #define verticalpat_width 16
  6. #define verticalpat_height 16
  7. static BITMAPS_H_TYPE verticalpat_bits[] = {
  8. 0x24, 0x49, 0x24, 0x49, 0x24, 0x49, 0x24, 0x49, 0x24, 0x49, 0x24, 0x49,
  9. 0x24, 0x49, 0x24, 0x49, 0x24, 0x49, 0x24, 0x49, 0x24, 0x49, 0x24, 0x49,
  10. 0x24, 0x49, 0x24, 0x49, 0x24, 0x49, 0x24, 0x49
  11. };
  12. #define check_width 16
  13. #define check_height 16
  14. static BITMAPS_H_TYPE check_bits[] = {
  15. 0x24, 0x49, 0x24, 0x49, 0xff, 0xff, 0x24, 0x49, 0x24, 0x49, 0xff, 0xff,
  16. 0x24, 0x49, 0x24, 0x49, 0xff, 0xff, 0x24, 0x49, 0x24, 0x49, 0xff, 0xff,
  17. 0x24, 0x49, 0x24, 0x49, 0xff, 0xff, 0x24, 0x49
  18. };
  19. #define cross_width 16
  20. #define cross_height 16
  21. static BITMAPS_H_TYPE cross_bits[] = {
  22. 0x49, 0x92, 0xb6, 0x6d, 0xb6, 0x6d, 0x49, 0x92, 0xb6, 0x6d, 0xb6, 0x6d,
  23. 0x49, 0x92, 0xb6, 0x6d, 0xb6, 0x6d, 0x49, 0x92, 0xb6, 0x6d, 0xb6, 0x6d,
  24. 0x49, 0x92, 0xb6, 0x6d, 0xb6, 0x6d, 0x49, 0x92
  25. };
  26. #define dot_dashed_width 16
  27. #define dot_dashed_height 16
  28. static BITMAPS_H_TYPE dot_dashed_bits[] = {
  29. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  30. 0x87, 0xc3, 0x87, 0xc3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  31. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
  32. };
  33. #define dotted_width 16
  34. #define dotted_height 16
  35. static BITMAPS_H_TYPE dotted_bits[] = {
  36. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  37. 0x77, 0x77, 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  38. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
  39. };
  40. #define horizpat_width 16
  41. #define horizpat_height 16
  42. static BITMAPS_H_TYPE horizpat_bits[] = {
  43. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,
  44. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,
  45. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00
  46. };
  47. #define long_dashed_width 16
  48. #define long_dashed_height 16
  49. static BITMAPS_H_TYPE long_dashed_bits[] = {
  50. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  51. 0x0f, 0x78, 0x0f, 0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  52. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
  53. };
  54. #define odd_dashed_width 16
  55. #define odd_dashed_height 16
  56. static BITMAPS_H_TYPE odd_dashed_bits[] = {
  57. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  58. 0xb9, 0x31, 0xb9, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  59. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
  60. };
  61. #define ptleft_width 16
  62. #define ptleft_height 16
  63. static BITMAPS_H_TYPE ptleft_bits[] = {
  64. 0x24, 0x49, 0x49, 0x92, 0x92, 0x24, 0x24, 0x49, 0x49, 0x92, 0x92, 0x24,
  65. 0x24, 0x49, 0x49, 0x92, 0x92, 0x24, 0x24, 0x49, 0x49, 0x92, 0x92, 0x24,
  66. 0x24, 0x49, 0x49, 0x92, 0x92, 0x24, 0x24, 0x49
  67. };
  68. #define ptright_width 16
  69. #define ptright_height 16
  70. static BITMAPS_H_TYPE ptright_bits[] = {
  71. 0x24, 0x49, 0x92, 0x24, 0x49, 0x92, 0x24, 0x49, 0x92, 0x24, 0x49, 0x92,
  72. 0x24, 0x49, 0x92, 0x24, 0x49, 0x92, 0x24, 0x49, 0x92, 0x24, 0x49, 0x92,
  73. 0x24, 0x49, 0x92, 0x24, 0x49, 0x92, 0x24, 0x49
  74. };
  75. #define short_dashed_width 16
  76. #define short_dashed_height 16
  77. static BITMAPS_H_TYPE short_dashed_bits[] = {
  78. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  79. 0x0f, 0x0f, 0x0f, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  80. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
  81. };
  82. #define solidline_width 16
  83. #define solidline_height 16
  84. static BITMAPS_H_TYPE solidline_bits[] = {
  85. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  86. 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  87. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
  88. };
  89. #endif /* _XGD_PATTERNS_H */