Hi,

  It is because we use a different technique in Windows to draw lines when
LineWidth=1, a cosmetic pen. Don't rely on the sizes and the alignment of
the custom line styles. Although they are usually equivalent to pixels they
may depend on the driver.

Best,
Scuri


Em qui., 23 de jan. de 2020 às 17:31, Milind Gupta <[email protected]>
escreveu:

> A little more information. If I add LineWidth = 2 after setting the line
> style then only it works properly. Why does LineWidth=1 not work?
>
> On Wed, Jan 22, 2020 at 6:09 PM Milind Gupta <[email protected]>
> wrote:
>
>> Hi,
>>     I created a custom linestyle of 1 dot and 9 spaces. When I plot this
>> line I see multiple dots and a much longer space. The attached script plots
>> it as a horizontal line and creates some vertical markers below which the
>> dots were expected. The dots however are not aligned to those vertical
>> markers. Am I specifying the style array incorrectly?
>>
>> Thanks,
>> Milind
>>
> _______________________________________________
> Canvasdraw-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/canvasdraw-users
>
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to