[][src]Module lvgl::widgets::line

Contains Rust bindings for LVGL Line Widget API lv_line

Structs

__BindgenBitfieldUnit
lv_area_t

Represents an area of the screen.

lv_line_ext_t

TYPEDEFS

lv_ll_t

Description of a linked list

lv_point_t

Represents a point on the screen.

lv_realign_t
lv_style_list_t

Constants

LV_LINEMETER_PRECISE
LV_LINE_PART_MAIN

Functions

create

Create a line objects

get_auto_size

Get the auto size attribute

get_y_invert

Get the y inversion attribute

set_auto_size

Enable (or disable) the auto-size option. The size of the object will fit to its points. (set width to x max and height to y max)

set_points

Set an array of points. The line object will connect these points.

set_y_invert

Enable (or disable) the y coordinate inversion. If enabled then y will be subtracted from the height of the object, therefore the y=0 coordinate will be on the bottom.

Type Definitions

_bindgen_ty_32
lv_align_t
lv_bidi_dir_t
lv_coord_t
lv_design_cb_t

The design callback is used to draw the object on the screen. It accepts the object, a mask area, and the mode in which to draw the object.

lv_design_mode_t
lv_design_res_t
lv_drag_dir_t
lv_event_cb_t

@brief Event callback. Events are used to notify the user of some action being taken on the object. For details, see ::lv_event_t.

lv_event_t
lv_line_style_t
lv_ll_node_t

Dummy type to make handling easier

lv_obj_t
lv_obj_user_data_t
lv_res_t
lv_signal_cb_t
lv_signal_t
lv_state_t