lv_eve.h¶
Enums
-
enum lv_eve_primitive_t¶
Values:
-
enumerator LV_EVE_PRIMITIVE_ZERO_VALUE¶
-
enumerator LV_EVE_PRIMITIVE_BITMAPS¶
-
enumerator LV_EVE_PRIMITIVE_POINTS¶
-
enumerator LV_EVE_PRIMITIVE_LINES¶
-
enumerator LV_EVE_PRIMITIVE_LINE_STRIP¶
-
enumerator LV_EVE_PRIMITIVE_EDGE_STRIP_R¶
-
enumerator LV_EVE_PRIMITIVE_EDGE_STRIP_L¶
-
enumerator LV_EVE_PRIMITIVE_EDGE_STRIP_A¶
-
enumerator LV_EVE_PRIMITIVE_EDGE_STRIP_B¶
-
enumerator LV_EVE_PRIMITIVE_RECTS¶
-
enumerator LV_EVE_PRIMITIVE_ZERO_VALUE¶
Functions
-
void lv_eve_save_context(void)¶
-
void lv_eve_restore_context(void)¶
-
void lv_eve_scissor(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2)¶
-
void lv_eve_primitive(uint8_t context)¶
-
void lv_eve_color(lv_color_t color)¶
-
void lv_eve_color_opa(lv_opa_t opa)¶
-
void lv_eve_line_width(int32_t width)¶
-
void lv_eve_point_size(uint16_t radius)¶
-
void lv_eve_vertex_2f(int16_t x, int16_t y)¶
-
void lv_eve_color_mask(uint8_t r, uint8_t g, uint8_t b, uint8_t a)¶
-
void lv_eve_stencil_func(uint8_t func, uint8_t ref, uint8_t mask)¶
-
void lv_eve_stencil_op(uint8_t sfail, uint8_t spass)¶
-
void lv_eve_blend_func(uint8_t src, uint8_t dst)¶
-
void lv_eve_draw_circle_simple(int16_t coord_x1, int16_t coord_y1, uint16_t radius_t)¶
-
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)¶
-
void lv_eve_mask_round(int16_t coord_x1, int16_t coord_y1, int16_t coord_x2, int16_t coord_y2, int16_t radius)¶
-
void lv_eve_bitmap_source(uint32_t addr)¶
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.- Parameters:
addr – the remote EVE memory address to set as the bitmap source
-
void lv_eve_bitmap_size(uint8_t filter, uint8_t wrapx, uint8_t wrapy, uint16_t width, uint16_t height)¶
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.
- Parameters:
filter – the sampling method. Either EVE_NEAREST or EVE_BILINEAR
wrapx – the out of bounds sampling behavior in the X direction. Either EVE_BORDER or EVE_REPEAT
wrapy – the out of bounds sampling behavior in the Y direction. Either EVE_BORDER or EVE_REPEAT
width – the width of the bitmap in pixels
height – the height of the bitmap in pixels
-
void lv_eve_bitmap_layout(uint8_t format, uint16_t linestride, uint16_t height)¶
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.
- Parameters:
format – an eve color format value like EVE_RGB565
linestride – the stride of the bitmap rows in bytes
height – the number of rows in the bitmap
-
struct lv_eve_drawing_context_t¶
-
struct lv_eve_drawing_state_t¶