# lv_draw_g2d.h (/api/draw/nxp/g2d/lv_draw_g2d_h)



<ApiSummary functions="5" structs="1" typedefs="1" />

Functions [#functions]

<ApiMember kind="function" name="lv_draw_g2d_init" file="draw/nxp/g2d/lv_draw_g2d.h" line="50" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/nxp/g2d/lv_draw_g2d.h#L50">
  lv_draw_g2d_init [#lv_draw_g2d_init]

  ```c title=" " lineNumbers=1
  void lv_draw_g2d_init(void)
  ```
</ApiMember>

<ApiMember kind="function" name="lv_draw_g2d_deinit" file="draw/nxp/g2d/lv_draw_g2d.h" line="52" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/nxp/g2d/lv_draw_g2d.h#L52">
  lv_draw_g2d_deinit [#lv_draw_g2d_deinit]

  ```c title=" " lineNumbers=1
  void lv_draw_g2d_deinit(void)
  ```
</ApiMember>

<ApiMember kind="function" name="lv_draw_buf_g2d_init_handlers" file="draw/nxp/g2d/lv_draw_g2d.h" line="54" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/nxp/g2d/lv_draw_g2d.h#L54">
  lv_draw_buf_g2d_init_handlers [#lv_draw_buf_g2d_init_handlers]

  ```c title=" " lineNumbers=1
  void lv_draw_buf_g2d_init_handlers(void)
  ```
</ApiMember>

<ApiMember kind="function" name="lv_draw_g2d_fill" file="draw/nxp/g2d/lv_draw_g2d.h" line="56" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/nxp/g2d/lv_draw_g2d.h#L56">
  lv_draw_g2d_fill [#lv_draw_g2d_fill]

  ```c title=" " lineNumbers=1
  void lv_draw_g2d_fill(lv_draw_task_t *t)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name | Type                                                         |
  | ---- | ------------------------------------------------------------ |
  | `t`  | <ApiLink name="lv_draw_task_t" display="lv_draw_task_t *" /> |
</ApiMember>

<ApiMember kind="function" name="lv_draw_g2d_img" file="draw/nxp/g2d/lv_draw_g2d.h" line="58" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/nxp/g2d/lv_draw_g2d.h#L58">
  lv_draw_g2d_img [#lv_draw_g2d_img]

  ```c title=" " lineNumbers=1
  void lv_draw_g2d_img(lv_draw_task_t *t)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name | Type                                                         |
  | ---- | ------------------------------------------------------------ |
  | `t`  | <ApiLink name="lv_draw_task_t" display="lv_draw_task_t *" /> |
</ApiMember>

Structs [#structs]

<ApiMember kind="struct" name="lv_draw_g2d_unit">
  lv_draw_g2d_unit [#lv_draw_g2d_unit]

  Copyright 2024 NXP

  SPDX-License-Identifier: MIT

  | Member       | Type                                       | Description |
  | ------------ | ------------------------------------------ | ----------- |
  | `base_unit`  | <ApiLink name="lv_draw_unit_t" />          |             |
  | `thread_dsc` | <ApiLink name="lv_draw_sw_thread_dsc_t" /> |             |
</ApiMember>

Typedefs [#typedefs]

<ApiMember kind="typedef" name="lv_draw_g2d_unit_t" file="draw/nxp/g2d/lv_draw_g2d.h" line="44" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/nxp/g2d/lv_draw_g2d.h#L44">
  lv_draw_g2d_unit_t [#lv_draw_g2d_unit_t]

  ```c title=" " lineNumbers=1
  typedef struct lv_draw_g2d_unit lv_draw_g2d_unit_t
  ```

  Copyright 2024 NXP

  SPDX-License-Identifier: MIT
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_conf_internal.h&#x22;, &#x22;lv_draw_sw_private.h&#x22;]" transitiveIncludes="[&#x22;lv_anim.h&#x22;, &#x22;lv_area.h&#x22;, &#x22;lv_array.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_bidi.h&#x22;, &#x22;lv_cache.h&#x22;, &#x22;lv_cache_class.h&#x22;, &#x22;lv_cache_entry.h&#x22;, &#x22;lv_cache_instance.h&#x22;, &#x22;lv_cache_lru_ll.h&#x22;, &#x22;lv_cache_lru_rb.h&#x22;, &#x22;lv_cache_private.h&#x22;, &#x22;lv_cache_sc_da.h&#x22;, &#x22;lv_color.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_display.h&#x22;, &#x22;lv_draw.h&#x22;, &#x22;lv_draw_arc.h&#x22;, &#x22;lv_draw_blur.h&#x22;, &#x22;lv_draw_buf.h&#x22;, &#x22;lv_draw_image.h&#x22;, &#x22;lv_draw_label.h&#x22;, &#x22;lv_draw_line.h&#x22;, &#x22;lv_draw_mask.h&#x22;, &#x22;lv_draw_private.h&#x22;, &#x22;lv_draw_rect.h&#x22;, &#x22;lv_draw_sw.h&#x22;, &#x22;lv_draw_sw_blend.h&#x22;, &#x22;lv_draw_sw_mask.h&#x22;, &#x22;lv_draw_sw_utils.h&#x22;, &#x22;lv_draw_triangle.h&#x22;, &#x22;lv_draw_vector.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_ext_data.h&#x22;, &#x22;lv_flex.h&#x22;, &#x22;lv_font.h&#x22;, &#x22;lv_fs.h&#x22;, &#x22;lv_grad.h&#x22;, &#x22;lv_grid.h&#x22;, &#x22;lv_image_cache.h&#x22;, &#x22;lv_image_decoder.h&#x22;, &#x22;lv_image_dsc.h&#x22;, &#x22;lv_image_header_cache.h&#x22;, &#x22;lv_layout.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_matrix.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_os.h&#x22;, &#x22;lv_os_private.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_profiler.h&#x22;, &#x22;lv_profiler_builtin.h&#x22;, &#x22;lv_pthread.h&#x22;, &#x22;lv_sprintf.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_style.h&#x22;, &#x22;lv_style_gen.h&#x22;, &#x22;lv_symbol_def.h&#x22;, &#x22;lv_text.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
