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.

参数:

cf -- The LVGL color format

返回:

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.

参数:

cf -- The LVGL color format

返回:

The Nema color format

uint32_t lv_nemagfx_blending_mode(lv_blend_mode_t lv_blend_mode)

Get NemaGFX blending mode

参数:

lv_blend_mode -- [in] The LVGL blend mode

返回:

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

参数:
  • gradient -- [in] NemaGFX Gradient Buffer

  • lv_grad -- [in] Gradient descripto

  • opa -- [in] Descriptor's opacity