Must be a simple question, yet I can't find or figure out myself solution to it.
How to draw a single point in wpf?
In winforms I did something like
graphics.DrawLine(pen, x, y, x+1, y+1);
But in wpf x
and y
become double
(or well, actually I never used float
in winforms), then there is a Pen
and device dependend/independent units, so adding +1 doesn't looks good anymore. How would you draw single point in wpf?