Namespace Meadow.Foundation.Graphics.Buffers
Classes
Buffer1bpp
Represents a 1bpp pixel buffer with horizontal pixel packing 1 byte represents 8 pixels on the x-axis
Buffer1bppV
Represents a 1bpp pixel buffer with vertical pixel packing 1 byte represents 8 pixels on the y-axis
Buffer2bppEPaper
Represents a 2bpp buffer This is specifically built for 3 color eInk displays and wraps two 1bpp buffers
BufferGray4
Represents a 4bpp pixel buffer
BufferGray8
Represents a 8bpp grayscale pixel buffer
BufferIndexed4
Represents a 4bpp pixel buffer with indexed colors
BufferRgb332
Represents a 8bpp color pixel buffer
BufferRgb444
Represents a 12bpp color pixel buffer
BufferRgb565
Represents a 16bpp color pixel buffer
BufferRgb888
Represents a 24bpp color pixel buffer
BufferRgba8888
Represents a 32bpp color pixel buffer
PixelBufferBase
Represents a pixel buffer
Interfaces
IPixelBuffer
IPixelBuffer provides a standard interface for representing the display state of a device capable of displaying pixels. It specifies methods for performing common primitive operations on a buffer of pixel data.
Conceptually, implementing classes should:
- Specify a bit depth for pixels
- Specify a color mode
- Preserve the display state as a byte[] in the PixelBuffer
- Optimize primitive drawing methods for the bit depth of pixels
- Be abstracted/decoupled from a specific device driver