Shading Descriptor (SHD)

The SHD is a substructure of the CHP and PAP.

b10b16fieldtypesizebitfieldcomments
00icoForeshort:5001Fforeground color (see chp.ico)
  icoBackshort:503E0background color (see chp.ico)
  ipatshort:6FC00shading pattern (see ipat table below)

ipat

pattern

0

Automatic

1

Solid

2

5 Percent

3

10 Percent

4

20 Percent

5

25 Percent

6

30 Percent

7

40 Percent

8

50 Percent

9

60 Percent

10

70 Percent

11

75 Percent

12

80 Percent

13

90 Percent

14

Dark Horizontal

15

Dark Vertical

16

Dark Forward Diagonal

17

Dark Backward Diagonal

18

Dark Cross

19

Dark Diagonal Cross

20

Horizontal

21

Vertical

22

Forward Diagonal

23

Backward Diagonal

24

Cross

25

Diagonal Cross

35

2.5 Percent

36

7.5 Percent

37

12.5 Percent

38

15 Percent

39

17.5 Percent

40

22.5 Percent

41

27.5 Percent

42

32.5 Percent

43

35 Percent

44

37.5 Percent

45

42.5 Percent

46

45 Percent

47

47.5 Percent

48

52.5 Percent

49

55 Percent

50

57.5 Percent

51

62.5 Percent

52

65 Percent

53

67.5 Percent

54

72.5 Percent

55

77.5 Percent

56

82.5 Percent

57

85 Percent

58

87.5 Percent

59

92.5 Percent

60

95 Percent

61

97.5 Percent

62

97 Percent


cbSHD (count of bytes of SHD) is 2.