arr is an array of lengths and 'size' is the number of elements in this array.
The first element of arr is the length of the first dash as a multiple of the current line width.
The second is the length of the following space and so on. 'size' indicates when the pattern repeats.
When using this routine, only the end cap styles in SET_LINE_STYLE@ have any effect and then only when the
line width is greater than 1. If SET_LINE_STYLE@ is called after this routine then PS_USERSTYLE must be included
with the end cap style. A call to SET_LINE_STYLE@(PS_SOLID) restores the default line style.