This project is read-only.

SherpGL for drawing 2D lines or plotter

Jun 20, 2014 at 2:03 PM
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 ?

Jun 24, 2014 at 10:25 AM

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.