MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > a) Common Functions > lePixelBufferCreate Function
MPLAB® Harmony Graphics Suite
lePixelBufferCreate Function
C
LIB_EXPORT leResult lePixelBufferCreate(
    const int32_t width, 
    const int32_t height, 
    const leColorMode mode, 
    const void* const address, 
    lePixelBuffer* buffer
);
Parameters
Parameters 
Description 
const int32_t 
the width of the buffer the height of the buffer 
const leColorMode 
the color mode of the buffer 
const void* 
the data addres of the buffer (may be NULL) 
lePixelBuffer* 
pointer of the pixel buffer buffer to initialize 
Returns

leResult

MPLAB® Harmony Graphics Suite