>Dear All,
>
>I have impression that when drawing ordinary lines with GdiPlusX, Pen object
>could be little bit inaccurate as for actual line size it produces;
>
>
>.
>.
>*We are talking solid brush / ordinary lines
>
>oMyPen = .Pen.New(.Color.Black , 0)
>oGfx.DrawLine(oMyPen,x,y...)
>
>.
>.
>
>
>First two pen sizes 0 and 1 produce identical results which I believe are both size 0 (hair line) . From size 1 upward all sizes seem to be in actuallity nPenSize-1.
>
>Line weight distribution looks like this;
>0 = 0
>But from 1
>1-1 = 0
>2-1 = 1
>3-1 = 2
>
>So when you call size 2 you actually get 1, when choosing size 3 you get 2 and so for. Is there any way to examine / verify this 'naked-eye' impression ?
>
>
>
>TIA
>Sergio
Sergio,
I don't have VFP to test it right now, but you could examine by yourself, making sure that the output will be a PNG or BMP file. DONT use JPEG, because the image will probably be somehow disformed...
Also, make sure that the smoothing mode is set to "lowQuality", (i don't remember the property name), NOT using AntiAlias
Then, open theat image in MSPAINT, and Zoom to see in 8X. This way, you'll be sure how many pixels it is drawing.
Capiche ?