MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Files > legato_pixelbuffer.h
MPLAB® Harmony Graphics Suite
legato_pixelbuffer.h

Microchip Technology Inc.

File Name

legato_pixelbuffer.h

Description

Module for Microchip Graphics Library - Legato User Interface Library 

Pixel buffer generation and management functions.

Functions
 
Name 
Description 
 
Returns true if the buffer's lock flag is on. 
 
Manipulates a buffer lock flag 
 
Fills a rectangular area of a pixel buffer with a solid color. 
 
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 lePixelBufferAreaFill but performs no bounds checking. 
 
Clips a rectangle against a pixel buffer. The result is guaranteed to fit inside the buffer's area. 
 
Initializes a pixel buffer struct. Does not actually allocate any memory. 
 
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 lePixelBufferGet but performs no bounds checking. 
 
A faster less-safe version of lePixelBufferGetIndex; 
 
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 lePixelBufferOffsetGet 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 lePixelBufferSet but performs no bounds checking. 
MPLAB® Harmony Graphics Suite