lv_qrcode.h
API reference for lv_qrcode.h
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_qrcode_private.h
Summary
Functions
libs/qrcode/lv_qrcode.h:50function
lv_qrcode_set_size
Set QR code size.
void lv_qrcode_set_size(lv_obj_t *obj, int32_t size)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a QR code object |
size | int32_t | width and height of the QR code |
libs/qrcode/lv_qrcode.h:57function
lv_qrcode_set_dark_color
Set QR code dark color.
void lv_qrcode_set_dark_color(lv_obj_t *obj, lv_color_t color)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a QR code object |
color | lv_color_t | dark color of the QR code |
libs/qrcode/lv_qrcode.h:64function
lv_qrcode_set_light_color
Set QR code light color.
void lv_qrcode_set_light_color(lv_obj_t *obj, lv_color_t color)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a QR code object |
color | lv_color_t | light color of the QR code |
libs/qrcode/lv_qrcode.h:80function
lv_qrcode_set_data
Helper function to set the data of a QR code object
void lv_qrcode_set_data(lv_obj_t *obj, const char *data)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a QR code object |
data | const char * | data to display as a string |
libs/qrcode/lv_qrcode.h:88function
lv_qrcode_set_quiet_zone
Enable or disable quiet zone. Quiet zone is the area around the QR code where no data is encoded.
void lv_qrcode_set_quiet_zone(lv_obj_t *obj, bool enable)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a QR code object |
enable | bool | true: enable quiet zone; false: disable quiet zone |
Variables
libs/qrcode/lv_qrcode.h:32variable
lv_qrcode_class
const lv_obj_class_t lv_qrcode_classDependencies
lv_conf_internal.hlv_color.hlv_types.hlv_canvas.hstdbool.hstdint.h
Indirect dependencies
lv_anim.hlv_area.hlv_array.hlv_assert.hlv_bidi.hlv_color_op.hlv_conf_kconfig.hlv_display.hlv_draw.hlv_draw_arc.hlv_draw_blur.hlv_draw_buf.hlv_draw_image.hlv_draw_label.hlv_draw_line.hlv_draw_rect.hlv_draw_triangle.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_fs.hlv_grad.hlv_grid.hlv_group.hlv_image.hlv_image_decoder.hlv_image_dsc.hlv_indev.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_obj.hlv_obj_class.hlv_obj_draw.hlv_obj_event.hlv_obj_pos.hlv_obj_property.hlv_obj_property_names.hlv_obj_scroll.hlv_obj_style.hlv_obj_style_gen.hlv_obj_tree.hlv_observer.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_style_properties.hlv_symbol_def.hlv_text.hlv_tick.hlv_timer.h
How is this guide?
Last updated on