_lv_obj_scroll_by_raw() function
Low level function to scroll by given x and y coordinates. `LV_EVENT_SCROLL` is sent.
Arguments
obj
pointer to an object to scroll
x
pixels to scroll horizontally
y
pixels to scroll vertically
Return value
`LV_RES_INV`: to object was deleted in `LV_EVENT_SCROLL`; `LV_RES_OK`: if the object is still valid
_lv_obj_scroll_by_raw() is called by 4 functions and calls 4 functions:
![]()
_lv_obj_scroll_by_raw()
_lv_obj_scroll_by_raw() reads 6 variables and writes 2 variables:
![]()
_lv_obj_scroll_by_raw()