lv_draw_nema_gfx_utils.h

Defines

NEMA_VIRT2PHYS
LV_NEMA_GFX_COLOR_FORMAT
LV_NEMA_GFX_FORMAT_MULTIPLIER

Functions

bool lv_nemagfx_is_cf_supported(lv_color_format_t cf)

Check if lv_color_format_t is supported.

Parameters:

cf – The LVGL color format

Returns:

True/false

uint32_t lv_nemagfx_cf_to_nema(lv_color_format_t cf)

Convert a lv_color_format_t to a Nema color format.

Parameters:

cf – The LVGL color format

Returns:

The Nema color format

uint32_t lv_nemagfx_blending_mode(lv_blend_mode_t lv_blend_mode)

Get NemaGFX blending mode

Parameters:

lv_blend_mode[in] The LVGL blend mode

Returns:

NemaGFX blending mode

void lv_nemagfx_grad_set(NEMA_VG_GRAD_HANDLE gradient, lv_grad_dsc_t lv_grad, lv_opa_t opa)

Get NemaGFX blending mode

Parameters:
  • gradient[in] NemaGFX Gradient Buffer

  • lv_grad[in] Gradient descripto

  • opa[in] Descriptor's opacity