DrawingContext.DrawLine: Pen has no full opacity?
when I draw something like that (just random drawings here): public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); DrawingVisual visual = new DrawingVisual(); DrawingContext context = visual.RenderOpen(); Pen pen = new Pen(Brushes.Black, 1); context.DrawEllipse(Brushes.YellowGreen, pen, new Point(0,0), 40, 40); for (int i = 0; i <= 100 - 1; i++) context.DrawLine(new Pen(Brushes.Black, 1), new Point(0, i), new Point(i, i)); context.Close(); RenderTargetBitmap bmp = new RenderTargetBitmap(100, 100, 96, 96, PixelFormats.Pbgra32); bmp.Render(visual); image1.Source