MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laContext_IsDrawing Function
MPLAB® Harmony Graphics Suite
laContext_IsDrawing Function

Indicates if any layers are currently drawing a frame. Because frame updates can happen long after making changes to the UI state it is best to only make updates to the state of a layer tree only when the layer is not drawing. 

Requires an active context and active screen.

C
LIB_EXPORT laBool laContext_IsDrawing();
Returns
MPLAB® Harmony Graphics Suite