Draw a one pixel point with GDI+

  • Thread starter Thread starter Pat Keel
  • Start date Start date
P

Pat Keel

Hi there,
I'm looking for a solution to draw a one pixel sized point to a graphics
control. E.g. DrawLine(10,10, 11,11) draws 2 pixels, DrawLine(10,10,
10,10) has no effect.
How to do?
Thanks
Pat
 
Hi,

Possibly not the best solution, but you can use GDI's SetPixel method
through P/Invoke.
 
Back
Top