The drawing object grid is Far East only, and it sets up a grid in which Far Eastern characters are displayed (one character per grid square).
b10 | b16 | field | type | size | bitfield | comments |
0 | 0 | xaGrid | short | x-coordinate of the upper left-hand corner of the grid | ||
2 | 2 | yaGrid | short | y-coordinate of the upper left-hand corner of the grid | ||
4 | 4 | dxaGrid | short | width of each grid square | ||
6 | 6 | dyaGrid | short | height of each grid square | ||
8 | 8 | dyGridDisplay | short | :7 | 007F | the number of grid squares (in the y direction) between each gridline drawn on the screen. 0 means don't display any gridlines in the y direction. |
fTurnItOff | short | :1 | 0080 | suppress display of gridlines | ||
dxGridDisplay | short | :7 | 7F00 | the number of grid squares (in the x direction) between each gridline drawn on the screen. 0 means don't display any gridlines in the y direction. | ||
fFollowMargins | short | :1 | 8000 | if true, the grid will start at the left and top margins and ignore xaGrid and yaGrid. |
cbDOGRID (count of bytes of DOGRID) is 10 bytes (decimal), A bytes (hex).