MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > e) Image Functions > leImage_Draw Function
MPLAB® Harmony Graphics Suite
leImage_Draw Function
C
LIB_EXPORT leResult leImage_Draw(
    const leImage* img, 
    leRect* sourceRect, 
    int32_t x, 
    int32_t y, 
    uint32_t a
);
Parameters
Parameters 
Description 
leImage* img 
pointer to the image asset to draw 
leRect* sourceRect 
the source rectangle of the image to blit 
int32_t x 
the x position to draw to the y position to draw to 
uint32_t a 
global alpha amount to apply 
Returns

leResult

MPLAB® Harmony Graphics Suite