C
cty0000
I need to draw only 1 pixel but I can not found out the way...
I tried to use like following in some function
(point1 is Point instance)
Graphics gB = Graphics.FromImage(gBmp);
gB.DrawEllipse(pen.WHITE, point1.X, point1.Y, 1, 1);
gB.DrawRectangle(pen.WHITE, point1.X, point1.Y, 1, 1);
gB.DrawLine(pen.WHITE, point1,point1);
All of above example are not drawing only 1 pixel (looks 4 pixel...)
Someone recommand me drawEllipse or drawLine but the result was not
only 1 pixel...
I tried to find out the solution in web site but I could not find....
How to draw ONLY one pixel?????
I tried to use like following in some function
(point1 is Point instance)
Graphics gB = Graphics.FromImage(gBmp);
gB.DrawEllipse(pen.WHITE, point1.X, point1.Y, 1, 1);
gB.DrawRectangle(pen.WHITE, point1.X, point1.Y, 1, 1);
gB.DrawLine(pen.WHITE, point1,point1);
All of above example are not drawing only 1 pixel (looks 4 pixel...)
Someone recommand me drawEllipse or drawLine but the result was not
only 1 pixel...
I tried to find out the solution in web site but I could not find....
How to draw ONLY one pixel?????