# lv_draw_pxp.h (/api/draw/nxp/pxp/lv_draw_pxp_h)



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

Functions [#functions]

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

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

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

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

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

  ```c title=" " lineNumbers=1
  void lv_draw_pxp_rotate(const void *src_buf, void *dest_buf, int32_t src_width, int32_t src_height, int32_t src_stride, int32_t dest_stride, lv_display_rotation_t rotation, lv_color_format_t cf)
  ```

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

  | Name          | Type                                     |
  | ------------- | ---------------------------------------- |
  | `src_buf`     | `const void *`                           |
  | `dest_buf`    | `void *`                                 |
  | `src_width`   | <ApiLink name="int32_t" />               |
  | `src_height`  | <ApiLink name="int32_t" />               |
  | `src_stride`  | <ApiLink name="int32_t" />               |
  | `dest_stride` | <ApiLink name="int32_t" />               |
  | `rotation`    | <ApiLink name="lv_display_rotation_t" /> |
  | `cf`          | <ApiLink name="lv_color_format_t" />     |
</ApiMember>

<ApiMember kind="function" name="lv_draw_buf_pxp_init_handlers" file="draw/nxp/pxp/lv_draw_pxp.h" line="63" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/nxp/pxp/lv_draw_pxp.h#L63">
  lv_draw_buf_pxp_init_handlers [#lv_draw_buf_pxp_init_handlers]

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

<ApiMember kind="function" name="lv_draw_pxp_fill" file="draw/nxp/pxp/lv_draw_pxp.h" line="65" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/nxp/pxp/lv_draw_pxp.h#L65">
  lv_draw_pxp_fill [#lv_draw_pxp_fill]

  ```c title=" " lineNumbers=1
  void lv_draw_pxp_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_pxp_img" file="draw/nxp/pxp/lv_draw_pxp.h" line="67" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/nxp/pxp/lv_draw_pxp.h#L67">
  lv_draw_pxp_img [#lv_draw_pxp_img]

  ```c title=" " lineNumbers=1
  void lv_draw_pxp_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>

<ApiMember kind="function" name="lv_draw_pxp_layer" file="draw/nxp/pxp/lv_draw_pxp.h" line="69" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/nxp/pxp/lv_draw_pxp.h#L69">
  lv_draw_pxp_layer [#lv_draw_pxp_layer]

  ```c title=" " lineNumbers=1
  void lv_draw_pxp_layer(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_pxp_unit_t">
  \_lv_draw_pxp_unit_t [#_lv_draw_pxp_unit_t]

  Copyright 2022-2024 NXP

  SPDX-License-Identifier: MIT

  | Member        | Type                                                         | Description |
  | ------------- | ------------------------------------------------------------ | ----------- |
  | `base_unit`   | <ApiLink name="lv_draw_unit_t" />                            |             |
  | `task_act`    | <ApiLink name="lv_draw_task_t" display="lv_draw_task_t *" /> |             |
  | `sync`        | `lv_thread_sync_t`                                           |             |
  | `thread`      | `lv_thread_t`                                                |             |
  | `inited`      | <ApiLink name="bool" display="volatile bool" />              |             |
  | `exit_status` | <ApiLink name="bool" display="volatile bool" />              |             |
</ApiMember>

Typedefs [#typedefs]

<ApiMember kind="typedef" name="lv_draw_pxp_unit_t" file="draw/nxp/pxp/lv_draw_pxp.h" line="48" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/nxp/pxp/lv_draw_pxp.h#L48">
  lv_draw_pxp_unit_t [#lv_draw_pxp_unit_t]

  ```c title=" " lineNumbers=1
  typedef struct _lv_draw_pxp_unit_t lv_draw_pxp_unit_t
  ```

  Copyright 2022-2024 NXP

  SPDX-License-Identifier: MIT
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_conf_internal.h&#x22;, &#x22;lv_draw_private.h&#x22;, &#x22;lv_display_private.h&#x22;, &#x22;lv_area_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_rect.h&#x22;, &#x22;lv_draw_triangle.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_group.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_indev.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_obj.h&#x22;, &#x22;lv_obj_class.h&#x22;, &#x22;lv_obj_draw.h&#x22;, &#x22;lv_obj_event.h&#x22;, &#x22;lv_obj_pos.h&#x22;, &#x22;lv_obj_property.h&#x22;, &#x22;lv_obj_property_names.h&#x22;, &#x22;lv_obj_scroll.h&#x22;, &#x22;lv_obj_style.h&#x22;, &#x22;lv_obj_style_gen.h&#x22;, &#x22;lv_obj_tree.h&#x22;, &#x22;lv_observer.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_style_properties.h&#x22;, &#x22;lv_symbol_def.h&#x22;, &#x22;lv_sysmon.h&#x22;, &#x22;lv_sysmon_private.h&#x22;, &#x22;lv_text.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
