Are there a way when using writeablebitmap with writeablebitmapEx to draw a dashed line? Without having to manually calculate the dashes and create multiple lines to create the dashing effect?
Yes, use DrawLinePenned with a BitmapContext pen. You can use another image as pen or just create it on the fly.