Markup Leader stub data structure.
The stub is a line which links the leader(s) to the markup box. It is vertical or horizontal line according to the attach point type, and its length depends on the attach point type. Therefore, in the structure of markup leader stub, there are two arrays to be considered in parallel: the first defines the length of the stub, and the second the anchor point type corresponding to the length.
Size of array of values and anchor types.
For example, if there are two leader lines pointing from the PMI box, this value will be two.
The length of the first segment of the arrow if it is segmented (i.e., the stub) — see the horizontal segment in the righthand image above.
To get the anchor type, use the following bitwise operation: m_piAnchorTypes[i] & 0x1F.
for the available types.
If the PMI box contains several sub-boxes (as in the image below), usem_piAnchorTypes[i] >> 5 to find the sub-box index.