Re: [Iup-users] canvas line

2013-12-16 Thread Antonio Scuri
Hi, No problem. Keep going. BTW, those asymmetry are from the Win32 API, not much to do about it. Best, Scuri > -Original Message- > From: Karagy [mailto:kar...@mail.ru] > Sent: segunda-feira, 16 de dezembro de 2013 18:13 > To: IUP discussion list. > Subject:

Re: [Iup-users] canvas line

2013-12-16 Thread Karagy
Hi, This is not about new bugs. No new bugs. This primitive demonstration through xor overlay each other two lines - lines emulated through the points and lines of the canvas. Done in a hurry, the code is dirty. Plus controls for changing parameters - thickness, position of the upper and lower

Re: [Iup-users] canvas line

2013-12-16 Thread Antonio Scuri
Hi, Please could you describe more how to obtain the buggy situations? Best, Scuri > -Original Message- > From: Karagy [mailto:kar...@mail.ru] > Sent: sábado, 14 de dezembro de 2013 12:33 > To: iup-users@lists.sourceforge.net > Subject: Re: [Iup-users] canvas line >

Re: [Iup-users] canvas line

2013-12-14 Thread Karagy
Hi. More visual example in attach. w/o debug printing. On mouse click it draw 4 lines (from left to right): 1. emulated line (via cd.Pixel) 2. emulated line, then XOR cd.Line 3. cd.Line, then XOR emulated line 4. cd.Line in GUI-selected WriteMode For xored lines: WHITE fill BLACK xor CYAN = RED

Re: [Iup-users] canvas line

2013-12-13 Thread Antonio Scuri
the sample code. Best, Scuri > -Original Message- > From: Karagy [mailto:kar...@mail.ru] > Sent: quinta-feira, 12 de dezembro de 2013 16:30 > To: IUP discussion list. > Subject: [Iup-users] canvas line > > Hi, all! > > WinXP 32bit, iuplua 3.6 - 3.9. > Playing

Re: [Iup-users] canvas line

2013-12-12 Thread Karagy
Sorry, I forgot to explain - in this example, a line will appear if you press the left mouse button on canvas. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear p

Re: [Iup-users] canvas line

2013-12-12 Thread Karagy
In attach. Please send me a screenshot so I know what to expect here. WBR, Karagy <>-- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how applic

Re: [Iup-users] canvas line

2013-12-12 Thread Antonio Scuri
Please send me a screenshot so I know what to expect here. Best, Scuri > -Original Message- > From: Karagy [mailto:kar...@mail.ru] > Sent: quinta-feira, 12 de dezembro de 2013 16:30 > To: IUP discussion list. > Subject: [Iup-users] canvas line > > Hi, all! > &

Re: [Iup-users] canvas line

2013-12-12 Thread Karagy
Failed to specify: only for cd.XOR WriteMode. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. Wit

[Iup-users] canvas line

2013-12-12 Thread Karagy
Hi, all! WinXP 32bit, iuplua 3.6 - 3.9. Playing with iup.canvas, I found that the ends of the vertical lines near the boundaries of the canvas looks strange. The effect becomes noticeable for a line width of 2 or more. Unpainted point becomes visible at the upper end of the line. At the lower