lv_eve.h
API reference for lv_eve.h
Summary
Functions
draw/eve/lv_eve.h:81function
lv_eve_save_context
void lv_eve_save_context(void)draw/eve/lv_eve.h:82function
lv_eve_restore_context
void lv_eve_restore_context(void)draw/eve/lv_eve.h:83function
lv_eve_scissor
void lv_eve_scissor(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2)draw/eve/lv_eve.h:84function
lv_eve_primitive
void lv_eve_primitive(uint8_t context)| Name | Type |
|---|---|
context | uint8_t |
draw/eve/lv_eve.h:85function
lv_eve_color
void lv_eve_color(lv_color_t color)| Name | Type |
|---|---|
color | lv_color_t |
draw/eve/lv_eve.h:86function
lv_eve_color_opa
void lv_eve_color_opa(lv_opa_t opa)| Name | Type |
|---|---|
opa | lv_opa_t |
draw/eve/lv_eve.h:87function
lv_eve_line_width
void lv_eve_line_width(int32_t width)| Name | Type |
|---|---|
width | int32_t |
draw/eve/lv_eve.h:88function
lv_eve_point_size
void lv_eve_point_size(uint16_t radius)| Name | Type |
|---|---|
radius | uint16_t |
draw/eve/lv_eve.h:89function
lv_eve_vertex_2f
void lv_eve_vertex_2f(int16_t x, int16_t y)draw/eve/lv_eve.h:90function
lv_eve_color_mask
void lv_eve_color_mask(uint8_t r, uint8_t g, uint8_t b, uint8_t a)draw/eve/lv_eve.h:91function
lv_eve_stencil_func
void lv_eve_stencil_func(uint8_t func, uint8_t ref, uint8_t mask)draw/eve/lv_eve.h:92function
lv_eve_stencil_op
void lv_eve_stencil_op(uint8_t sfail, uint8_t spass)draw/eve/lv_eve.h:93function
lv_eve_blend_func
void lv_eve_blend_func(uint8_t src, uint8_t dst)draw/eve/lv_eve.h:95function
lv_eve_draw_circle_simple
void lv_eve_draw_circle_simple(int16_t coord_x1, int16_t coord_y1, uint16_t radius_t)draw/eve/lv_eve.h:96function
lv_eve_draw_rect_simple
void lv_eve_draw_rect_simple(int16_t coord_x1, int16_t coord_y1, int16_t coord_x2, int16_t coord_y2, uint16_t radius)draw/eve/lv_eve.h:98function
lv_eve_mask_round
void lv_eve_mask_round(int16_t coord_x1, int16_t coord_y1, int16_t coord_x2, int16_t coord_y2, int16_t radius)draw/eve/lv_eve.h:105function
lv_eve_bitmap_source
Set the bitmap source to addr. SPI transmission will occur unless it is already set to this value. The bitmap source is not part of the saved and restored context.
void lv_eve_bitmap_source(uint32_t addr)| Name | Type | Description |
|---|---|---|
addr | uint32_t | the remote EVE memory address to set as the bitmap source |
draw/eve/lv_eve.h:116function
lv_eve_bitmap_size
Set the bitmap size and sampling parameters. SPI transmission will occur unless the currently set parameters are already these. The bitmap size is not part of the saved and restored context.
void lv_eve_bitmap_size(uint8_t filter, uint8_t wrapx, uint8_t wrapy, uint16_t width, uint16_t height)| Name | Type | Description |
|---|---|---|
filter | uint8_t | the sampling method. Either EVE_NEAREST or EVE_BILINEAR |
wrapx | uint8_t | the out of bounds sampling behavior in the X direction. Either EVE_BORDER or EVE_REPEAT |
wrapy | uint8_t | the out of bounds sampling behavior in the Y direction. Either EVE_BORDER or EVE_REPEAT |
width | uint16_t | the width of the bitmap in pixels |
height | uint16_t | the height of the bitmap in pixels |
draw/eve/lv_eve.h:125function
lv_eve_bitmap_layout
Set the bitmap format/layout parameters. SPI transmission will occur unless the currently set parameters are already these. The bitmap layout is not part of the saved and restored context.
void lv_eve_bitmap_layout(uint8_t format, uint16_t linestride, uint16_t height)Enums
lv_eve_primitive_t
| Name | Value |
|---|---|
LV_EVE_PRIMITIVE_ZERO_VALUE | |
LV_EVE_PRIMITIVE_BITMAPS | 1UL |
LV_EVE_PRIMITIVE_POINTS | 2UL |
LV_EVE_PRIMITIVE_LINES | 3UL |
LV_EVE_PRIMITIVE_LINE_STRIP | 4UL |
LV_EVE_PRIMITIVE_EDGE_STRIP_R | 5UL |
LV_EVE_PRIMITIVE_EDGE_STRIP_L | 6UL |
LV_EVE_PRIMITIVE_EDGE_STRIP_A | 7UL |
LV_EVE_PRIMITIVE_EDGE_STRIP_B | 8UL |
LV_EVE_PRIMITIVE_RECTS | 9UL |
Structs
struct
lv_eve_drawing_context_t
| Member | Type | Description |
|---|---|---|
primitive | lv_eve_primitive_t | |
color | lv_color_t | |
opa | lv_opa_t | |
line_width | int32_t | |
point_size | uint16_t | |
color_mask | uint8_t[4] | |
stencil_func | uint8_t[3] | |
stencil_op | uint8_t[2] | |
blend_func | uint8_t[2] | |
scx | uint16_t | |
scy | uint16_t |
struct
lv_eve_drawing_state_t
Dependencies
How is this guide?
Last updated on