MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laContext_Create Function
MPLAB® Harmony Graphics Suite
laContext_Create Function
C
LIB_EXPORT laContext* laContext_Create(
    GFX_Driver driver, 
    GFX_Display display, 
    GFX_Processor processor, 
    GFX_ColorMode mode, 
    GFXU_MemoryIntf* memoryIntf
);
Preconditions

Should have called laInitialize() before attempting to create a context

Parameters
Parameters 
Description 
GFX_Driver 
the graphics controller the library will initialize the HAL with 
GFX_Display 
the graphics display the library will initialize the HAL with 
the color mode the library will use and initialize the HAL with 
GFXU_MemoryIntf* 
the memory interface the library will use and will initialize the HAL with 
Returns

laContext* - a valid context pointer or NULL

MPLAB® Harmony Graphics Suite