lv_draw_image_private.h
API reference for lv_draw_image_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_draw_image.h
Summary
Functions
draw/lv_draw_image_private.h:78function
lv_image_buf_get_transformed_area
Get the area of a rectangle if its rotated and scaled
void lv_image_buf_get_transformed_area(lv_area_t *res, int32_t w, int32_t h, int32_t angle, uint16_t scale_x, uint16_t scale_y, const lv_point_t *pivot)| Name | Type | Description |
|---|---|---|
res | lv_area_t * | store the coordinates here |
w | int32_t | width of the rectangle to transform |
h | int32_t | height of the rectangle to transform |
angle | int32_t | angle of rotation |
scale_x | uint16_t | zoom in x direction, (256 no zoom) |
scale_y | uint16_t | zoom in y direction, (256 no zoom) |
pivot | const lv_point_t * | x,y pivot coordinates of rotation |
Structs
struct
_lv_draw_image_sup_t
| Member | Type | Description |
|---|---|---|
alpha_color | lv_color_t | |
palette | const lv_color32_t * | |
palette_size | uint32_t |
Dependencies
Indirect dependencies
lv_anim.hlv_area.hlv_array.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_conf_internal.hlv_conf_kconfig.hlv_draw.hlv_draw_buf.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_fs.hlv_grad.hlv_grid.hlv_image_decoder.hlv_image_dsc.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_symbol_def.hlv_text.hlv_tick.hlv_timer.hlv_types.h
How is this guide?
Last updated on