SherpGL for drawing 2D lines or plotter

Jun 20, 2014 at 1:03 PM
Dear,
i'm using WritableBitmapEx for drawing 2d Lines like a plotter sample, but
i cannot have smooth scrolling when it draw fast.
I have think about use SharpGL or OpenTK, this libraries are fine with 2d graphics, for drwa on a bitmap every 4ms a line ?

Thanks
Coordinator
Jun 24, 2014 at 9:25 AM
Hi,

Either would work, if you just need 2D drawing you'll need to create a scene with an orthographic transformation and render your lines. Ensure that you draw lines using vertex buffer arrays and pixel shaders, otherwise your rendering may fall back to software mode.

Cheers,

Dave