# lv_draw_pxp.h (/api/private/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="private/draw/nxp/pxp/lv_draw_pxp.h" line="53" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_draw_pxp.h#L53">
  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="private/draw/nxp/pxp/lv_draw_pxp.h" line="55" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_draw_pxp.h#L55">
  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="private/draw/nxp/pxp/lv_draw_pxp.h" line="57" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_draw_pxp.h#L57">
  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`   | `int32_t`                                |
  | `src_height`  | `int32_t`                                |
  | `src_stride`  | `int32_t`                                |
  | `dest_stride` | `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="private/draw/nxp/pxp/lv_draw_pxp.h" line="61" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_draw_pxp.h#L61">
  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="private/draw/nxp/pxp/lv_draw_pxp.h" line="63" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_draw_pxp.h#L63">
  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="private/draw/nxp/pxp/lv_draw_pxp.h" line="65" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_draw_pxp.h#L65">
  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="private/draw/nxp/pxp/lv_draw_pxp.h" line="67" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_draw_pxp.h#L67">
  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`      | `volatile bool`                                              |             |
  | `exit_status` | `volatile bool`                                              |             |
</ApiMember>

Typedefs [#typedefs]

<ApiMember kind="typedef" name="lv_draw_pxp_unit_t" file="private/draw/nxp/pxp/lv_draw_pxp.h" line="47" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_draw_pxp.h#L47">
  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;lvgl_public.h&#x22;, &#x22;lv_draw_private.h&#x22;, &#x22;lv_display_private.h&#x22;, &#x22;lv_area_private.h&#x22;]" includedBy="[&#x22;lvgl_private.h&#x22;]" transitiveIncludes="[&#x22;lv_array.h&#x22;, &#x22;lv_cache.h&#x22;, &#x22;lv_cache_class.h&#x22;, &#x22;lv_cache_entry.h&#x22;, &#x22;lv_cache_lru_ll.h&#x22;, &#x22;lv_cache_lru_rb.h&#x22;, &#x22;lv_cache_sc_da.h&#x22;, &#x22;lv_event_private.h&#x22;, &#x22;lv_image_cache.h&#x22;, &#x22;lv_iter_private.h&#x22;, &#x22;lv_os_private.h&#x22;, &#x22;lv_sysmon_private.h&#x22;]" />
