lv_eve.h
API reference for lv_eve.h
Summary
Functions
private/draw/eve/lv_eve.h:79function
lv_eve_save_context
void lv_eve_save_context(void)private/draw/eve/lv_eve.h:80function
lv_eve_restore_context
void lv_eve_restore_context(void)private/draw/eve/lv_eve.h:81function
lv_eve_scissor
void lv_eve_scissor(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2)| Name | Type |
|---|---|
x1 | uint16_t |
y1 | uint16_t |
x2 | uint16_t |
y2 | uint16_t |
private/draw/eve/lv_eve.h:82function
lv_eve_primitive
void lv_eve_primitive(uint8_t context)| Name | Type |
|---|---|
context | uint8_t |
private/draw/eve/lv_eve.h:83function
lv_eve_color
void lv_eve_color(lv_color_t color)| Name | Type |
|---|---|
color | lv_color_t |
private/draw/eve/lv_eve.h:84function
lv_eve_color_opa
void lv_eve_color_opa(lv_opa_t opa)| Name | Type |
|---|---|
opa | lv_opa_t |
private/draw/eve/lv_eve.h:85function
lv_eve_line_width
void lv_eve_line_width(int32_t width)| Name | Type |
|---|---|
width | int32_t |
private/draw/eve/lv_eve.h:86function
lv_eve_point_size
void lv_eve_point_size(uint16_t radius)| Name | Type |
|---|---|
radius | uint16_t |
private/draw/eve/lv_eve.h:87function
lv_eve_vertex_2f
void lv_eve_vertex_2f(int16_t x, int16_t y)| Name | Type |
|---|---|
x | int16_t |
y | int16_t |
private/draw/eve/lv_eve.h:88function
lv_eve_color_mask
void lv_eve_color_mask(uint8_t r, uint8_t g, uint8_t b, uint8_t a)| Name | Type |
|---|---|
r | uint8_t |
g | uint8_t |
b | uint8_t |
a | uint8_t |
private/draw/eve/lv_eve.h:89function
lv_eve_stencil_func
void lv_eve_stencil_func(uint8_t func, uint8_t ref, uint8_t mask)| Name | Type |
|---|---|
func | uint8_t |
ref | uint8_t |
mask | uint8_t |
private/draw/eve/lv_eve.h:90function
lv_eve_stencil_op
void lv_eve_stencil_op(uint8_t sfail, uint8_t spass)| Name | Type |
|---|---|
sfail | uint8_t |
spass | uint8_t |
private/draw/eve/lv_eve.h:91function
lv_eve_blend_func
void lv_eve_blend_func(uint8_t src, uint8_t dst)| Name | Type |
|---|---|
src | uint8_t |
dst | uint8_t |
private/draw/eve/lv_eve.h:93function
lv_eve_draw_circle_simple
void lv_eve_draw_circle_simple(int16_t coord_x1, int16_t coord_y1, uint16_t radius_t)| Name | Type |
|---|---|
coord_x1 | int16_t |
coord_y1 | int16_t |
radius_t | uint16_t |
private/draw/eve/lv_eve.h:94function
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)| Name | Type |
|---|---|
coord_x1 | int16_t |
coord_y1 | int16_t |
coord_x2 | int16_t |
coord_y2 | int16_t |
radius | uint16_t |
private/draw/eve/lv_eve.h:96function
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)| Name | Type |
|---|---|
coord_x1 | int16_t |
coord_y1 | int16_t |
coord_x2 | int16_t |
coord_y2 | int16_t |
radius | int16_t |
private/draw/eve/lv_eve.h:103function
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 |
private/draw/eve/lv_eve.h:114function
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 |
private/draw/eve/lv_eve.h:123function
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)| Name | Type | Description |
|---|---|---|
format | uint8_t | an eve color format value like EVE_RGB565 |
linestride | uint16_t | the stride of the bitmap rows in bytes |
height | uint16_t | the number of rows in the bitmap |
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
| Member | Type | Description |
|---|---|---|
bitmap_source | uint32_t | |
bitmap_size | uint32_t | |
bitmap_size_h | uint32_t | |
bitmap_layout | uint32_t | |
bitmap_layout_h | uint32_t |
Dependencies
Last updated on