Mar 20, 2003 #1 M Miura Active member Joined Mar 13, 2003 Messages 27 Hi, How can I draw a single pixel ? If I use Drawline (pen1,100,100,100,100) Nothing is showed on the screen if I use Drawline (pen1,100,100,101,101) A small linie is showed, as it should. The function in older VB was called PSET !!
Hi, How can I draw a single pixel ? If I use Drawline (pen1,100,100,100,100) Nothing is showed on the screen if I use Drawline (pen1,100,100,101,101) A small linie is showed, as it should. The function in older VB was called PSET !!
Mar 20, 2003 #2 Bucky Well-known member Joined Dec 23, 2001 Messages 791 Location East Coast User Rank *Expert* Draw a rectangle with a width and height of 1.
Mar 21, 2003 #3 M Miura Active member Joined Mar 13, 2003 Messages 27 Hmmm, Its look like a height of 2 pixels. when using: transpen1 = New Pen(System.Drawing.Color.Yellow, 1) grafik.DrawRectangle(transpen1, 50, 50, 1, 1) any ideas ?
Hmmm, Its look like a height of 2 pixels. when using: transpen1 = New Pen(System.Drawing.Color.Yellow, 1) grafik.DrawRectangle(transpen1, 50, 50, 1, 1) any ideas ?
Mar 21, 2003 #4 Divil Well-known member Joined Nov 17, 2002 Messages 2,748 Id use FillRectangle instead, still with a width and height of 1. Ive done it in the past and its worked.
Id use FillRectangle instead, still with a width and height of 1. Ive done it in the past and its worked.