-
Notifications
You must be signed in to change notification settings - Fork 11
VB3300 KCA
The VB3300-KCA is a 10.3", 1404x1872 (226 DPI) e-paper display developed by E Ink.
The display reads display buffer information from the /dev/fb0 device. The virtual device buffer is, by default, RGB565 encoded with a virtual size of 1408x3840. The top-leftmost 1404x1872 is the visible portion of the display.
An output device, the display is accessible through OutputDevices.Display, and implements the IDisplayDriver interface. The image framebuffer is handled by ImageSharp as an Image<Rgb24> and is accessible through the display driver instance as the Framebuffer property. The framebuffer implements the IFramebuffer interface. However, unless you need to directly read data from the framebuffer, it's best to use the IDisplayDriver methods, which implement partial display refreshing.
A typical display-modifying workflow looks like this:
// Create an image
var img = new Image<Rgb24>(300, 300);
// Do some image processing
img.Mutate(ctx => ctx.DrawLines(Color.Black, 3, new PointF(50, 50), new PointF(250, 250)));
// Draw the image to the screen
OutputDevices.Display.Draw(img, img.Bounds(), Point.Empty);The driver is accessible to Qt through lqsgepaper.