MPLAB® Harmony Graphics Suite
|
Microchip Technology Inc.
gfx_pixel_buffer.h
Module for Microchip Graphics Library - Hardware Abstraction Layer
Pixel buffer generation and management functions.
|
Name |
Description |
![]() |
Fills an area of a pixel buffer with a solid color. Caller is responsible for ensuring that the color is the same color format as the destination buffer. | |
![]() |
Fills an area of a pixel buffer with a solid color. Caller is responsible for ensuring that the color is the same color format as the destination buffer. Like GFX_PixelBufferAreaFill but performs no bounds checking. | |
![]() |
Extracts a rectanglar section of pixels from a pixel buffer. | |
![]() |
Extracts a rectanglar section of pixels from a pixel buffer. Like GFX_PixelBufferAreaGet but performs no clipping between the rectangles of the extract area and the source buffer. | |
![]() |
Copies an area of pixels from a source buffer to a destination buffer. If the source buffer format does not match the destination format the data will be converted to match during the copy operation. | |
![]() |
Copies an area of pixels from a source buffer to a destination buffer. If the source buffer format does not match the destination format the data will be converted to match during the copy operation. Like GFX_PixelBufferAreaSet but performs no bounds checking. | |
![]() |
Clips a rectangle against a pixel buffer. The result is guaranteed to fit inside the buffer's area. | |
![]() |
Duplicates a pixel buffer and converts the copy to another color mode. | |
![]() |
Creates a copy of the input buffer. If the input buffer's pixel data is not null then the data will be duplicated for the result buffer. | |
![]() |
Initializes a pixel buffer struct. Does not actually allocate any memory. | |
![]() |
Destroys a pixel buffer construct. If the buffer's pixels pointer is not zero this function will attempt to free it using the provided GFX_MemoryIntf memory interface. | |
![]() |
Gets the value of the pixel that resides at the provided point in the given buffer. | |
![]() |
Gets the value of the pixel that resides at the provided point in the given buffer. Like GFX_PixelBufferGet but performs no bounds checking. | |
![]() |
Interprets the pixel buffer as a table of indices and looks up a specific index at position 'idx'. Indices may be 1bpp, 4bpp, or 8bpp in size and are indicated by the color mode of the pixel buffer. | |
![]() |
Gets the offset address of the pixel that resides at the provided point in the given buffer. | |
![]() |
Gets the offset address of the pixel that resides at the provided point in the given buffer. Similar to GFX_PixelBufferOffsetGet but performs no bounds checking. | |
![]() |
Sets a pixel in a pixel buffer at a point to a specified color. Caller is responsible for ensuring that the input color is in the same color format as the pixel buffer. | |
![]() |
Sets a pixel in a pixel buffer at a point to a specified color. Caller is responsible for ensuring that the input color is in the same color format as the pixel buffer. Like GFX_PixelBufferSet but performs no bounds checking. |
|
Name |
Description |
![]() |
A pixel buffer is a wrapper around a basic data pointer. A pixel buffer has a color mode, a pixel count, a rectangular dimension, a pixel count, and a lenght in bytes. | |
![]() |
A pixel buffer is a wrapper around a basic data pointer. A pixel buffer has a color mode, a pixel count, a rectangular dimension, a pixel count, and a lenght in bytes. |
MPLAB® Harmony Graphics Suite
|